[TYPO3-german] Knifflige Sache - Contenelement mit Link erweitern, Link enthält uid des CE als Parameter
Stefan Bothner | [m]zentrale
stefan at m-zentrale.de
Wed Jun 7 18:22:08 CEST 2006
Hallo Patrick,
danke für die Antwort, werde es mal testen. Hat nicht geklappt.
Nach ein wenig googeln habe ich dann doch die Lösung gefunden:
20 = TEXT
20.typolink.parameter.data = page:uid
20.typolink.additionalParams.insertData=1
20.typolink.additionalParams =
&tx_mzTVContentAbo_pi1[subscripe]=1&&tx_mzTVContentAbo_pi1[content]={field:u
id}
20.value < plugin.tx_mzTVContentAbo_pi1.subscriptionTextorImage
Gruss und Danke
Stefan
> -----Original Message-----
> From: typo3-german-bounces at lists.netfielders.de
> [mailto:typo3-german-bounces at lists.netfielders.de] On Behalf
> Of Patrick Rodacker
> Sent: Wednesday, June 07, 2006 5:52 PM
> To: typo3-german at lists.netfielders.de
> Subject: [TYPO3-german] Re: Knifflige Sache - Contenelement
> mit Link erweitern, Link enthält uid des CE als Parameter
>
> Hallo Stefan,
>
> Stefan Bothner | [m]zentrale wrote on 07.06.2006 16:46:
>
> > ich suche für eine Extension die Möglichkeit jedes CE mit
> einem Link
> > zu erweitern welcher als Parameter die uid des
> entsprechenden CE hat.
> >
> > Bisheriger Code der gut funktioniert:
> >
> >
> > Ich weiss nur nicht wie ich jetzt beim typolink und seinen
> > additionalParams die uid des entsprechenden CE's reinbekomme.
> >
> > contentsubscription.cObject = CASE
> > contentsubscription.cObject {
> > key.field = section_frame
> > default < tt_content.stdWrap.wrap
> >
> > default = COA
> > default{
> > 10 = TEXT
> > 10.value = |<div class="contentsubscription">
> >
> > 20 = TEXT
> > 20.typolink.parameter.data = page:uid
> > 20.typolink.additionalParams = &subscripe=1
> > 20.value < plugin.tx_mzTVContentAbo_pi1.subscriptionText
> >
> > 30 = TEXT
> > 30.value = </div>
> > }
> > }
> > tt_content.stdWrap.innerWrap < contentsubscription
> >
> > Für Hilfe wäre ich euch sehr dankbar
>
> typolink.parameter unterstützt ja die Funktion stdWrap, daher
> würde ich mal folgendes versuchen:
>
> 20.typolink.parameter.data = page:uid
> 20.typolink.parameter.dataWrap = |&tt_content[uid]={field:uid}
>
> Das ist jetzt nicht getestet, aber so ungefähr könnte es gehen.
> tt_content[uid] ist hier der Name des Parameters.
>
>
> Gruß
> Patrick
>
> _______________________________________________
> TYPO3-german mailing list
> TYPO3-german at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-german
>
More information about the TYPO3-german
mailing list