This repository has been archived by the owner on Jan 24, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
# What does it do | ||
|
||
This extension adds a page type which returns a pdf from the website you are currently visiting. | ||
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. | ||
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. |