[Typo3] How to insert print link on a page?

Jody Cleveland Cleveland at winnefox.org
Wed Apr 27 15:52:40 CEST 2005


Hello,

I've got typo 3.7 running on a redhat 3.0as machine. I've got the Make
Print Link extension installed, and running. But, it throws the link at
the bottom of the page, which I don't want. I'd like it near the top of
the page instead. How do I tell typo where I want that link to go? I've
included my setup info below.

Setup:
############################################################
# PRINT-FRIENDLY LINK
############################################################
temp.PRINT = TEXT
temp.PRINT.value = 
temp.PRINT.postUserFunc = tx_make_printlink
temp.PRINT.postUserFunc.include_post_vars = 1
temp.PRINT.postUserFunc.target = _self
temp.PRINT.postUserFunc.popup = 0
marks.PAGE_UID.data = page:uid

page.100 = IMAGE
page.100.file = fileadmin/template/images/print.gif
page.100.stdWrap.postUserFunc = tx_make_printlink

page.120 >
page.120 < temp.PRINT

In my template, I've got this:
<div id="print"><p><a
href="http://www.wals.lib.wi.us/oshkosh/index.php?id=#PAGE_UID&type=98">
Print Page</a></p></div>

But, that seems to be ignored. Instead, typo throws this at the very
bottom of the page:
<a href="index.php?id=26&type=98"  onfocus="blurLink(this);"><img
src="fileadmin/template/images/print.gif" width="18" height="16"
border="0" alt="" title="" /></a><a href="index.php?id=26&type=98"
onfocus="blurLink(this);" target="_self"></a>

What do I need to do to get typo to put that print link where I want it
to go?

--
Jody Cleveland
Computer Support Specialist
cleveland at winnefox.org



More information about the TYPO3-english mailing list