[Typo3] stuck in print link
ben van 't ende [netcreators]
ben at netcreators.nl
Sat May 7 23:01:42 CEST 2005
Jane Larsen wrote:
> I'm trying to make a printer friendly link in my own template using this:
>
> temp.PRINT = IMAGE
> temp.PRINT.file = fileadmin/icons/print.gif
> temp.PRINT.stdWrap.postUserFunc = tx_make_printlink
>
> temp.PRINT.postUserFunc = tx_make_printlink
> temp.PRINT.postUserFunc.include_post_vars = 1
> temp.PRINT.postUserFunc.target = _blank
> temp.PRINT.postUserFunc.popup = 1
> temp.PRINT.postUserFunc.windowparams = (
> resizable=yes,toolbar=no,scrollbars=yes,menubar=no,width=800,height=500
> )
> temp.PRINT.postUserFunc.windowname = printwindow
>
> [...]
>
> # Substitute the ###printer### subpart with some example content:
> subparts.printer < temp.PRINT
>
>
> But this does not work:
> --------------------------------------------------------------------------------
> ###CONTENT###
> --------------------------------------------------------------------------------
>
> I guess I'm missing a setting, but what? I my case it should just use
> the static template and handle language versioning, but I'm stuck...
>
> //Jane Larsen
Hi Jane,
Why not try to use a printstylesheet?
http://www.alistapart.com/articles/goingtoprint/
Ofcourse your HTML template would need some attention in order for that to work.
gRTz
ben
--
netcreators::creation and innovation
www.netcreators.nl - www.typo3.nl
More information about the TYPO3-english
mailing list