[TYPO3-dev] EXT:bodyClass/ TS to get field of any parent page

J. Lingott jbl at deweblop.de
Tue Nov 16 12:10:17 CET 2010


Hi Matthias, list,

Mathias Schreiber wrote:
> Did you add bodyclass_wrap_class to the list of rootline fields?

well, guess I missed some lines reading through the reference. Thanks 
for the hint! ;-)

For those reading this and still need info, add to (ext_)localconf:

if (!empty($GLOBALS["TYPO3_CONF_VARS"]["FE"]["addRootLineFields"])) {
   $rfFields = 
explode(',',$GLOBALS["TYPO3_CONF_VARS"]["FE"]["addRootLineFields"]);
}
$rfFields[] = 'bodyclass_wrap_class';
$GLOBALS["TYPO3_CONF_VARS"]["FE"]["addRootLineFields"] = 
implode(',',$rfFields);

or set addRootLineFields in T3 install-tool.


Jörg


More information about the TYPO3-dev mailing list