Menu


How can i create a print version for my page


Creating a new version for a page (for example a printer version or a plain text version) can be done using typenum. This way you don't need to create 2 separate pages but rather define a new rendering for the current page (using different css and settings)

Here is an example how to do that:



printpage = PAGE
printpage  {
    typenum = 1
    includeCSS.file = fileadmin/printpage.css
    10 = TEMPLATE
    10.template.file = fileadmin/printpage.html
    10.workOnSubpart = DOCUMENT
    10.marks.CONTENT < styles.content.get
}







Google Search

 
wiki.lacisoft.com
WWW
2009-2011 (c) Lacisoft.com