[TYPO3-dev] TypoScript TSFE data array and Fluidtemplate

Steffen Müller typo3 at t3node.com
Tue Dec 13 19:41:58 CET 2011


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



More information about the TYPO3-dev mailing list