[TYPO3-dev] TypoScript TSFE data array and Fluidtemplate
Steffen Müller
typo3 at t3node.com
Thu Dec 8 17:17:34 CET 2011
Hi.
is there a generic way to map data arrays from TSFE with FLUIDTEMPLATE
variables?
My goal is to map $GLOBALS["TSFE"]->fe_user->user to a single variable
in Fluidtemplate. The data is available via getData in TypoScript using
{TSFE:fe_user|user}. I would like to avoid to name and map each field
separately.
Example:
page.10 = FLUIDTEMPLATE
page.10 {
file = fileadmin/fluid-template/fe_user.html
variables {
fe_user = {TSFE:fe_user|user}
insertData = 1
}
}
Fluid:
{fe_user.username}
{fe_user.first_name}
...
Is this possible at all with TypoSript?
--
cheers,
Steffen
TYPO3 Blog: http://www.t3node.com/
Twitter: @t3node - http://twitter.com/t3node
More information about the TYPO3-dev
mailing list