Skip to content
This repository has been archived by the owner on Jan 24, 2025. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Kanti authored Jun 26, 2023
1 parent d73d55e commit eeb9b76
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
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.

0 comments on commit eeb9b76

Please sign in to comment.