Hat jemand schon mal für -jede- Seite (einschließlich der NEWS) eine automatische Möglichkeit gefunden einen Link (Grafik oder Textlink) für "Druckansicht" und "Tip a Friend" zu erzeugen und wie sowas geht ?
"Druckansicht" soll ein neues Fenster öffen, mit dem Text ohne Grafik, Foramtierung.
"Tip a Friend" gibt es nur als neuer Seiteninhalt Plug-In UNTER einer Nachricht aber nicht IN der Nachricht.
Bsp.: wie unter dem Artikel: http://www.n-tv.de/3064252.html
Gruß Roland
aus dem englischen Forum:
Typo3Forum/Roland wrote:
> Tip a friend and Print this
>
> Is there a way to INCLUDE in all Pages (also in NEWS) "Tip a friend" and "Print this" ?!
> 1,)
> "Tip a friend" i only found a Plug-IN UNDER a Page but not IN a Page or IN a News?!
>
> 2,)
> For "Print this" i have NO idea.
>
> Example: see left in Articles
> at: http://www.cnn.com/2002/US/09/08/bush.blair.iraq/index.html
>
> Thanks
> Great Roland
> --
> Roland
>
> -----------------------------------------
> http://netfielders.de - http://typo3.info
> unsubscribe: -> "imailsrv@netfielders.de" body: "unsubscribe typo3"
>
Hi Roland
yes, this is possible:
#TIP A FRIEND
temp.40 = USER
temp.40.userFunc = user_tipafriend->main_tipafriend
temp.40.templateFile = uploads/tf/tipafriend_template_de.tmpl
temp.40.code = TIPLINK
temp.40.typolink.parameter = 307
subparts.TIP< temp.40
#########################
the code above shows the link for the "tip a friend page" (=ID 307) on
every page.
on this page just include your plugin:
Tip-a-friend
CODE: TIPFORM
#PRINT
temp.50 = IMAGE
temp.50.file = fileadmin/bernet/images/seite_drucken.gif
temp.50.imageLinkWrap = 1
temp.50.imageLinkWrap.enable = 1
temp.50.imageLinkWrap.typolink{
target = _blank
no_cache = 1
parameter.data = field:uid
additionalParams = &type=98&uid
ATagBeforeWrap = 1
}
subparts.PRINT< temp.50
that's it!
dont forget to include the html-files:
plugin.tipafriend.file.templateFile = tipafriend_template_de*.tmpl
plugin.alt.print.file.template = printversion_content_de*.tmpl
--> add this to your constant settings
and also include the templates plugin.tipafriend and plugin.alt.print
here you can see how it works on the website:
http://www.bernet.com
cheers
dominic
--
________________________________________________________________________
dominic brander - snowflake productions gmbh - http://www.snowflake.ch
tel. 01 451 75 71 - fax. 01 451 63 80 - mobile 076 543 17 94
Hallo nochmal,
irgendwie funktioniert das bei mir nicht. Habe im Template Subparts eingerichtet "###PRINT###" + "###FRIEND###" ( natürlich in doppelter Ausführung, also keine MARKS!) , Auskommentierung bleibt bei Anzeige auf dem Template stehen, was mache ich falsch ? Was ist "temp.40" ? Woher kommt die 40 ? Habe alles so gemacht wie beschrieben, nur keinen erfolg. Liegts am Typo3.5b3 ? ( Habe solche Erfahrungen schon paarmal machen müssen ) - um Hilfe dankbar,
liebe Grüße,
Bug
Ich bekomme immer folgende Fehlermeldung, wenn ich auf den Druck-Button klicke und gehe mal davon aus, daß ich irgendwo was nicht richtig konfiguriert habe .... nur wo ?
<I><B>Error!
The page is not configured! [type= 98][] </I></B>
Hallo,
The page is not configured! [type= 98][]
Man muss das statische Template "alt.print [98]" (oder ähnlich) hinzufügen. Zu finden unter Template -> "Click here to edit whole template" -> "Include Static".
mfg,
Robert Meyer
Danke,
jetzt habe ich zumindest schon mal eine weisse Seite :-)
nach etwas probieren hab ich obiges zumindest so zum laufen gebracht:
Constants
plugin.alt.print.file.template = fileadmin/layoutgiz/printversion_content.tmpl
----------------------------
Setup
#PRINT
marks.PRINT = IMAGE
marks.PRINT.file = fileadmin/layoutgiz/pics/print.gif
marks.PRINT.imageLinkWrap = 1
marks.PRINT.imageLinkWrap.enable = 1
marks.PRINT.imageLinkWrap.typolink{
target = _blank
no_cache = 1
parameter.data = field:uid
additionalParams = &type=98&uid
ATagBeforeWrap = 1
}