[TYPO3-templavoila] Find the UID of the active Template Object

Joerg Wagner news.netfielders.de at digilog.de
Thu Aug 7 08:30:51 CEST 2008


Hello List,

I am searching for a TypoScript way to get the UID of the Template 
Object that is currently active (used by the current page). The solution 
should work also if the TO is inherited from parent pages, so simply 
looking up tx_templavoila_to in the pages table won't work. Sliding up 
through the rootline with "levelfield" is also not a solution because we 
have to check through _two_ table fields at each parent page level 
(tx_templavoila_to & tx_templavoila_next_to) which can not be done by 
levelfield.

Is it possible? Is the currently active TO available in some param of 
the current page data?


Cheers,
Jörg.


More information about the TYPO3-project-templavoila mailing list