[Typo3] Please help me get Make Printlink working

Jody Cleveland Cleveland at winnefox.org
Fri Jun 17 18:01:29 CEST 2005


Hello,

I'm running Typo 3.8 on a Redhat 3.0 AS server.

I'm trying desperately to get the Make Printlink extension working.
Anything I have in setup is completely ignored, and just takes the link
and adds # to it. You can see what I mean here:
http://www.wals.lib.wi.us/dummy-3.8.0/index.php

Here's what I've got in my typo setup:
# 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" />&nbsp;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

 
page = PAGE
page.typeNum = 0
config.pageTitleFirst = 1
tt_content.text.20.parseFunc.nonTypoTagStdWrap.encapsLines.addAttributes
{
 P.style=margin:10 50 0 0; 
}
page.stylesheet = fileadmin/template/style.css
page.bodyTag = <body
background="fileadmin/template/images/background.gif" leftmargin="0"
topmargin="0" marginwidth="0" marginheight="0">
page.1 = TEMPLATE
page.1.marks.PAGE_UID = TEXT
page.1.marks.PAGE_UID.field = uid
page.1  {
   template = FILE
   template.file = fileadmin/template/template.html   
   workOnSubpart = DOCUMENT_BODY
   subparts.CONTENT_LEFT < styles.content.getLeft
   subparts.CONTENT_RIGHT < styles.content.getRight
   subparts.CONTENT_BORDER < styles.content.getBorder
   subparts.CONTENT < styles.content.get
   subparts.print = COA
   subparts.print {
      10 = print
      10 < styles.print.get
      20 < temp.PRINT
   }

Here's what I've got in constants:
# Print Style, make sure link to proper stylesheet is set
plugin.alt.print.file.stylesheet = fileadmin/template/print_style.css

Lastly, here's what I've got in my html template:
<td align="center" id="print"><img
src="fileadmin/template/images/print.png" width="11" height="10"
/>&nbsp;<a href="#">Print Version</a></td>

Any ideas what may be wrong?

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



More information about the TYPO3-english mailing list