[TYPO3-dev] TypoScript TSFE data array and Fluidtemplate

Steffen Müller typo3 at t3node.com
Mon Dec 19 16:26:14 CET 2011


Hi.

On 14.12.2011 12:52 Helmut Hummel wrote:
>
> But you could create a small extension implementing this hook:
>
> $TYPO3_CONF_VARS['SC_OPTIONS']['tslib/class.tslib_content.php']['getData']
>
> so that the following could work:
>
> fe_user = TEXT
> fe_user.data = globalArray:TSFE|fe_user|user
>

I played around with this a while.

Unfortunately your suggestion won't work. The value from fe_user is 
parsed with stdWrap which always returns string. So with your example I 
get $value='Array';

Even a userfunc with USER couldn't solve this, since the variable in 
FLUIDTEMPLATE is always of type string.

Another issue I found is that USER_INT is not parsed before it's value 
is handed over to FLUIDTEMPLATE. Still much work to do here :)


-- 
cheers,
Steffen

TYPO3 Blog: http://www.t3node.com/
Twitter: @t3node - http://twitter.com/t3node



More information about the TYPO3-dev mailing list