[TYPO3-german] URL-Parameter von Extension in TypoScript verarbeiten
Christian Wolff
chris at connye.com
Thu Mar 26 15:30:30 CET 2009
Johannes Dörr schrieb:
> Hi,
> ich habe ein seltsames Problem. Ich nutze die Extension T3Blog und
> möchte im Template-Setup per TypoScript unterscheiden können, ob das
> Blog gerade eine einzelne Message anzeigt oder die ganze Liste.
>
> Dazu frage ich einfach ab, ob der URL-Parameter
> tx_t3blog_pi1[blogList][showUid] vorhanden ist oder nicht:
>
> lib.rightbarvisibility = TEXT
> [globalVar = GP:tx_t3blog_pi1|blogList|showUid > 0]
> lib.rightbarvisibility.value = hidden
> [global]
>
> Wenn ja, wird eine Navigationsbar ausgeblendet, die nur auf der
> Startseite sichtbar sein soll.
>
> Das funktioniert super; wenn ich aber ein Formular absende, geht es
> nicht mehr, obwohl die Adresse, an die das Formular gesendet wird, den
> Parameter enthält:
>
> <form method="post" action="index.php?id=13
> &tx_t3blog_pi1[blogList][showUid]=1
> &tx_t3blog_pi1[blogList][year]=2009
> &tx_t3blog_pi1[blogList][month]=03
> &tx_t3blog_pi1[blogList][day]=06
> &tx_t3blog_pi1[blogList][insert]=1
> &tx_t3blog_pi1[blogList][commentauthor]=tewt
> &tx_t3blog_pi1[blogList][commentauthoremail]=asdas%40dsfsdf.de
> &tx_t3blog_pi1[blogList][commentsubmit]=Submit
> &tx_t3blog_pi1[blogList][uid]=1
> &cHash=a143e8ee21#commentFormNonAjax">
>
> Der Wert kommt aber offenbar gar nicht im typoScript an, habe ihn mal
> mit GPvar : tx_t3blog_pi1[blogList][showUid] abgefragt...
>
> Woran kann das liegen?
>
> Viele Grüße,
> Johannes
im orginal deines forms hast du in der action aber keine zeilenumbrüche
oder?
gruss chris
--
Christian Wolff // Berlin
http://www.connye.com
some projects:
http://richtermediagroup.com | http://titanic.de |
http://fairplay-homepage.de
More information about the TYPO3-german
mailing list