Scenic Living | living with a view on life

TAG | print

Let’s go down to it right away:

  1. Open your main (plugins) template in Typo3, in full glory (you can figure out what that means!)
  2. Add in the ‘Include Static’ section: plugin.alt.print (98)
    1. this adds the page type 98 to your site
  3. Now  you can use the constants to add some special cs/html to make it feel the way you like it to be
    1. plugin.alt.print.file.stylesheet = fileadmin/templates/res/print.css
    2. plugin.alt.print.file.template = fileadmin/templates/print.html
  4. Now add the following code in the TS where you built your (footer) menu:
    1. stdWrap {
      append = TEXT
      append.value = print
      append.typolink.title = printversion of this page
      append.typolink.parameter.dataWrap = {TSFE:id},98
      }
    2. This will add a link entitled print to the menu and will generate the correct pagetype.
  5. This works with SimulateStatic (print.34.98.html) as a charm!
  6. And why not with the rest? It will!

Have fun!

Consider a donation if blablabla ;-)

Share and Enjoy:
  • Print this article!
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • eKudos
  • MisterWong
  • Reddit
  • Technorati

, , , ,

Find it!

Theme Design by devolux.org