[TYPO3-dev] TypoScript TSFE data array and Fluidtemplate

Henjo Hoeksma me at henjohoeksma.nl
Tue Dec 13 19:54:45 CET 2011


Hi Steffen,

looks like a typo?

You have a double = sign in your first part...

Kind regards,

Henjo

Problems are small because we learned how to deal with them.
Problems are big because we need to learn how to deal with them.


On Tue, Dec 13, 2011 at 19:41, Steffen Müller <typo3 at t3node.com> wrote:

> Hi.
>
>
> On 13.12.2011 11:26 Kay Strobach wrote:
>
>> ++     fe_user = TEXT
>> ++     fe_user.data = {TSFE:fe_user|user}
>> --     insertData = 1
>>
>
> unfortunately that doesn't work :(
> {fe_user} is empty
>
> Here's my full example.
> The fe_user variable doesn't work, while email works:
>
> page.1 = FLUIDTEMPLATE
> page.1 {
>  file = fileadmin/templates/fluid/**User.html
>  variables {
>    fe_user = = TEXT
>
>    fe_user.data = TSFE:fe_user|user
>    email = TEXT
>    email.data = TSFE:fe_user|user|email
>  }
> }
>
> <f:layout name="default" />
> <f:section name="content">
>  <p>User: <f:debug>{fe_user}</f:debug></**p>
>  <p>{email}</p>
> </f:section>
>
> Result:
>
> User: | debug |
> Email: test at example.com
>
>
> Any other suggestion?
>
>
> --
> cheers,
> Steffen
>
> TYPO3 Blog: http://www.t3node.com/
> Twitter: @t3node - http://twitter.com/t3node
> ______________________________**_________________
> TYPO3-dev mailing list
> TYPO3-dev at lists.typo3.org
> http://lists.typo3.org/cgi-**bin/mailman/listinfo/typo3-dev<http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-dev>
>



More information about the TYPO3-dev mailing list