[TYPO3-dev] [TYPO3-english] get used template uid list of the current page

Kay Strobach typo3 at kay-strobach.de
Mon Aug 22 16:48:10 CEST 2011


Hello guys,

is it possible to get the list of used templates (similar to rootline)
on a page via TS?

What i want to achieve is to identify the templates either with uid or
with something like the template rootline (not the pagerootline).

After some research if found the following:

array of rootline
	TSFE:tmpl|absoluteRootLine

index of the nearest template in array of rootline

	TSFE:tmpl|outermostRootlineIndexWithTemplate

So it would be nice if i could access:

TSFE:tmpl|absoluteRootLine[TSFE:tmpl|outermostRootlineIndexWithTemplate]|uid

Is there any syntax in TS to achieve that?
Can you please give me a hint for the syntax.

Thanks in advice
Kay
-- http://www.kay-strobach.de - Open Source Rocks TYPO3 .... inspiring
people to share! Get involved: http://typo3.org Answere was usefull:
https://flattr.com/profile/kaystrobach





More information about the TYPO3-dev mailing list