TAG | print
Feb/08
6
The fastest way to a print version in Typo3 using defaults… (no extensions!)
0 Comments | Posted by henjo in (x)html, css, typo3, usabillity
Let’s go down to it right away:
- Open your main (plugins) template in Typo3, in full glory (you can figure out what that means!)
- Add in the ‘Include Static’ section: plugin.alt.print (98)
- this adds the page type 98 to your site
- Now you can use the constants to add some special cs/html to make it feel the way you like it to be
- plugin.alt.print.file.stylesheet = fileadmin/templates/res/print.css
- plugin.alt.print.file.template = fileadmin/templates/print.html
- Now add the following code in the TS where you built your (footer) menu:
- stdWrap {
append = TEXT
append.value = print
append.typolink.title = printversion of this page
append.typolink.parameter.dataWrap = {TSFE:id},98
} - This will add a link entitled print to the menu and will generate the correct pagetype.
- stdWrap {
- This works with SimulateStatic (print.34.98.html) as a charm!
- And why not with the rest? It will!
Have fun!
Consider a donation if blablabla
Basecamp
Get me at Technoratie
Typo3










