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

Mathias Schreiber [wmdb >] mathias.schreiber at wmdb.de
Tue Nov 16 10:56:38 CET 2010


Am 15.11.10 22:11, schrieb J. Lingott:
> Hello list,
>
> am currently trying to modify the TS provided with the extension
> bodyClass. What I am trying to do is getting the first parent custom
> class found if no custom class is set on the current (child) page. The
> snippet I tried is 'levelfield:-1,bodyclass_wrap_class,slide', but that
> doesn't seem to have the desired result. Any idea how to accomplish it?

Did you add bodyclass_wrap_class to the list of rootline fields?
Otherwise the field simply won't be available for checking :)

cheers
Mathias

-- 
Ernesto, Nov. 9th 2010:
"In the graphics generation routines of TYPO3 *anything* could cause a
side effect."




More information about the TYPO3-dev mailing list