[TYPO3-german] Re: Knifflige Sache - Contenelement mit Link erweitern, Link enthält uid des CE als Parameter
Patrick Rodacker
patrick.rodacker at the-reflection.de
Wed Jun 7 17:52:19 CEST 2006
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
More information about the TYPO3-german
mailing list