[TYPO3-english] FlUID and Get Paramater

bernd wilke t3ng at bernd-wilke.net
Wed Jul 30 17:13:41 CEST 2014


Am 30.07.14 16:00, schrieb Christian Tauscher:
> Hallo.
>
> I'd like to reakt inside a fluid Template on a Get-Parameter.
>
> <f:if condition="{myGetParameter} == 1">
> ...
>
> It this possible?
>
> Do you know a ViewHelper for this task?

you might use cObject with a matching typoscript to get the GPVar.

or, depending on your fluid-usage, you might define a fluid variable 
like that.

page.10 = FLUIDTEMPLATE
page.10.variable {
   mygpvar = TEXT
   mygpvar.data = GP:mygetparam
}

bernd
-- 
http://www.pi-phi.de/cheatsheet.html


More information about the TYPO3-english mailing list