Hi All !
Evtl. kann mir jemand einen Tip zur Einbindung des "Make Printlink Plugins" geben.
Bin Newbie, habe aber durch Lesen des Forums hier bis dato alle Fragen loesen koennen.
Ich verwende Typo3 3.6 RC2 und den "Template Auto-Parser " nach dem Beispiel im MTB. Make Printlink ist im Extension Manager installiert.
Das "Alt-Print" Plugin ist aktiviert und funktioniert fuer sich alleine auch bestens.
"Make Printlink" kann ich aber irgendwie nicht zu einer Ausgabe bewegen (kein Link wird angezeigt). Vermutlich habe ich noch einen Denkfehler beim Setup.
Anbei mein Setup des "Main TEMPLATE cObject". So wie ich die Anleitung verstanden habe, sollte der Link unter dem Content eingerendert werden. Evtl. kann mir jemand auf die Spruenge helfen:
# Main TEMPLATE cObject for the HEAD
temp.headTemplate = TEMPLATE
temp.headTemplate {
# Feeding the content from the Auto-parser to the TEMPLATE cObject:
template =< plugin.tx_automaketemplate_pi1
# Select only the content between the <head>-tags
workOnSubpart = DOCUMENT_HEADER
}
# Main TEMPLATE cObject for the BODY
temp.mainTemplate = TEMPLATE
temp.mainTemplate {
# Feeding the content from the Auto-parser to the TEMPLATE cObject:
template =< plugin.tx_automaketemplate_pi1
# Select only the content between the <body>-tags
workOnSubpart = DOCUMENT_BODY
#Make PRINT LINK
temp.PRINT = TEXT
temp.PRINT.value = printpage
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 Markers subparts with dynamic menu
subparts.menuBar < temp.topnav
subparts.footer < temp.footernav
# subparts.content < styles.content.get
subparts.content = COA
subparts.content {
10 = CONTENT
10 < styles.content.get
20 < temp.PRINT
}
subparts.lastupdate <styles.content.lastupdate
# Page Last Updated:
subparts.lastupdate = TEXT
subparts.lastupdate {
data = page:lastUpdated
if.isTrue.data = page:lastUpdated
date = d.m.Y
wrap = Seite geaendert: |
wrap2 = |
data = register : SYS_LASTCHANGED
if >
}
#Rootline Navigation
subparts.ROOTLINE = HMENU
subparts.ROOTLINE {
special = rootline
special.range = 0|-1
1 = TMENU
1 {
NO {
linkWrap = | | |
ATagParams = class = rootline
10 = TEXT
10.text.field = title
}
}
1.target = _top
1.wrap = Ihre Position: |
}
# Zuweisung des Links zur Druckversion
subparts.DRUCKVERSION = COA
subparts.DRUCKVERSION.30 = TEXT
subparts.DRUCKVERSION.30.field = uid
#subparts.DRUCKVERSION.30.wrap = <a href="|.98.html" target="_blank"><img src="fileadmin/images/print.gif" border=0 alt="Druckversion anzeigen"></a>
subparts.DRUCKVERSION.30.wrap = <a href="#" onclick="window.open('|.98.html' , 'drucken', 'width=800,height=700, resizable=yes, scrollbars=yes');"><img src="fileadmin/images/print.gif" border="0" alt="Seite drucken"></a>
}
Vielen Dank fuer Eure Hilfe.