MODX EXTRA
PDFResource
Convert MODX resources to PDF files using mPDF
Creator: Thomas Jakobi (jako)
2.0.1-pl (629 KB) Other Versions Need help installing this extra?About PDFResource
PDFresource is a MODX Revolution extra that converts resources to PDF files on saving or on viewing the resource using mPDF (https://mpdf.github.io/). The options for the generated PDF could be set in MODX system settings and on resource base in the value of a template variable.
Information
Instructions
MODX Package Management.
New in PDFResource 2.0.1
Breaking change in 2.0
If you update to Version 2.x from 1.x, please notice that your custom fonts are searched in the folder referenced with the pdfresources.customFontsFolder system setting after the update. Please move the custom fonts to the new default custom fonts folder {core_path}components/customfonts/
or create a backup of the folder {core_path}/components/pdfresource/vendor/mpdf/mpdf/ttfonts
before updating.
Changes in this version
- Fix removing the container suffix, when it is not a slash [#38]