CMS Pages to PDF Files
Download CMS pages as PDF files or print them directly from the browser.
Note: PHP 8 is not officially supported yet. Support will only come with an upcoming version.
Requirements
- You must have WoltLab Suite™ Core 5.2, 5.3 or 5.4 installed.
Configuration
You can configure this plugin in the ACP under Configuration ⇒ CMS ⇒ CMS Pages to PDF Files. You can specify whether a header and a footer should be included in PDF files. An individual footer text can also be defined.
It's also possible to restrict the functionality of this plugin. When you create or edit a page, you can specify for the page whether it can be downloaded or printed. Via the user group permissions (General Permisions ⇒ CMS ⇒ Pages) you can control who can download and print pages.
Notes on this plugin
- Only text, HTML and template pages can be downloaded and printed. This means that it isn't possible to download or print system pages.
- Pressing the download button will cause the PDF file to be generated server-side via PHP. Therefore, the following applies for downloading: Pages that use more complex or special HTML code may not display correctly in PDF files. JavaScript code is not executed. Similarly, CSS declarations, with the exception of inline styles, are not accounted. However, this is perfectly sufficient for normal texts.
- Pressing the print button calls up the browser's print function.
- Therefore the appearance of the page views in the browser, the PDF files and the printouts differ.
- To display images in PDF files, the PHP option allow_furl_open must be enabled.
- If an error occurs with the message open_basedir restriction in effect, make sure that all media elements on the page are embedded using the absolute URL.
Demo
A demo is available on the test page of Krymo Software.
This might also interest you...
Articles to PDF Files
Download articles as PDF files or print them directly from the browser.
Published Versions
-
CMS Pages to PDF Files 1.0.4 (Oct 24th 2021)
-
CMS Pages to PDF Files 1.0.3 (Mar 23rd 2021)
-
CMS Pages to PDF Files 1.0.2 (Sep 22nd 2020)
-
CMS Pages to PDF Files 1.0.1 (Aug 14th 2020)
-
CMS Pages to PDF Files 1.0.0 (May 11th 2020)