pluswerk / html_to_pdf
Pluswerk: HTML to PDF
Installs: 1 958
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Type:typo3-cms-extension
Requires
- mpdf/mpdf: ^8.0
- typo3/cms-core: >=9.5
This package is auto-updated.
Last update: 2023-05-08 15:32:36 UTC
README
This extension adds a page type which returns a pdf from the website you are currently visiting. For this, a middleware checks the pagetype and on match it throws the content inside mPdf, which then generates a pdf-file.
You can write your own templates with fluid and include your own css-files for styling. Also everything is overwritable.
Usage
Include the extensions' "setup.typoscript" and "constants.typoscript". Add typeNum 1590672891 to your routing config. You can add 1590672892 as well for debug purposes. Replace the default template EXT:html_to_pdf/Resources/Private/Pdf/Templates/Index.html to render the correct col or do different layout adjustments for your project.