Jens,
Have a look at this example. I have not had time to test it yet but this should work.
[TYPO3-german] Antwort: Re: Seiten lassen sich zeitweise nichtmehr aufrufen...
Greg
----
Mediatech Consulting, Inc.
Phone : +1 (760) 525-1770 . Fax: +1 (760) 542-1990 . Skype: gremington
Have a look at this example. I have not had time to test it yet but this should work.
[TYPO3-german] Antwort: Re: Seiten lassen sich zeitweise nichtmehr aufrufen...
# Druckversion
druck = PAGE
druck.stylesheet = uploads/tf/print.css
druck {
typeNum = 98
#bodyTag = <body onload="javascript:window.print()">
config.index_enable = 0
10 = TEMPLATE
10.template = FILE
10.template.file = uploads/tf/print.html
10.workOnSubpart = DOCUMENT_BODY
}
temp.printbutton = TEXT
temp.printbutton.wrap = <div class="printbutton">|</div>
temp.printbutton.value = <a href="#" onclick="javascript:window.print();"
title="Seite drucken">Seite drucken</a>
druck.10.subparts.SHORTCUTS < temp.printbutton
druck.10.subparts {
CONTENT < styles.content.get
CONTENT.stdWrap.required = 1
CONTENT.stdWrap.wrap = <div class="content">|</div>
}
druck = PAGE
druck.stylesheet = uploads/tf/print.css
druck {
typeNum = 98
#bodyTag = <body onload="javascript:window.print()">
config.index_enable = 0
10 = TEMPLATE
10.template = FILE
10.template.file = uploads/tf/print.html
10.workOnSubpart = DOCUMENT_BODY
}
temp.printbutton = TEXT
temp.printbutton.wrap = <div class="printbutton">|</div>
temp.printbutton.value = <a href="#" onclick="javascript:window.print();"
title="Seite drucken">Seite drucken</a>
druck.10.subparts.SHORTCUTS < temp.printbutton
druck.10.subparts {
CONTENT < styles.content.get
CONTENT.stdWrap.required = 1
CONTENT.stdWrap.wrap = <div class="content">|</div>
}
Greg
----
Mediatech Consulting, Inc.
Phone : +1 (760) 525-1770 . Fax: +1 (760) 542-1990 . Skype: gremington