[TYPO3-mvc] Dynamic settings and/or register access

Andreas Kiessling andreas.kiessling at web.de
Sat Jan 12 20:43:09 CET 2013


Hi,

> Found one way, which looks extremely ugly to me. Something like
> 
> <f:if condition="<f:cObject typoscriptObjectPath='lib.getGrid' /> == 9">

The inline syntax should work here too:
<f:if condition="{f:cObject(typoscriptObjectPath: 'lib.getGrid')} == 9">

> 
> works, as long as it is a lib.getGrid. Same construct doesn't work with
> a "temp". Don't need caching here. There must be a better way, I suppose
> (or hope).

After the TS is initially built up, all temp. objects are not available
anymore / unset, AFAIR to save memory. You have to use lib. / plugin. /
xyz. for that. Should not have anything to to with caching.

HTH,
Andreas


More information about the TYPO3-project-typo3v4mvc mailing list