[Typo3] Make print link and typo 3.8
Jody Cleveland
Cleveland at winnefox.org
Wed Jun 8 21:15:41 CEST 2005
Hello,
I've got a site running in typo 3.8, and am trying to get make_printlink
working with it.
I've got this in my ts template:
# Print-friendly Link
#######################################
temp.PRINT = TEXT
temp.PRINT.value = <div style="font-family: verdana; font-size: 10px;
font-style: normal; padding: 6px 15px 0px 2px; text-align: right; "><img
src="fileadmin/template/images/print.png" border="0" /> Print
Version</div>
temp.PRINT.postUserFunc = tx_make_printlink
temp.PRINT.postUserFunc.include_post_vars = 1
temp.PRINT.postUserFunc.target = _self
temp.PRINT.postUserFunc.popup = 0
temp.PRINT.postUserFunc.make_user_int = 1
marks.PAGE_UID.data = page:uid
subparts.print = COA
subparts.print {
10 = print
10 < styles.print.get
20 < temp.PRINT
}
And, in my html template, I've got this:
<td align="center" id="print"><img
src="fileadmin/template/images/print.png" width="11" height="10"
/> <a href="#">Print Version</a></td>
The link shows up fine, but, it just links to the same page, not the
print version. Has something changed with version 3.8? Do I have
something else messed up?
--
Jody Cleveland
Computer Support Specialist
cleveland at winnefox.org
More information about the TYPO3-english
mailing list