[Typo3] Using "pages" field plus option "recursive" from TS?
Christoph Moeller
moeller at network-publishing.de
Wed Jun 29 11:54:45 CEST 2005
Hi folks,
we are building a sitemap type to render some CE's that are positioned
on subpages to an overview page. The sitemap element is defined like this:
temp.productOverview < styles.content.get
temp.productOverview {
select {
orderBy = pid DESC,sorting ASC
begin = 1
pidInList.override.field = pages
}
renderObj = COA
renderObj {
[...]
}
}
tt_content.menu.20.3 >
tt_content.menu.20.3 < temp.productOverview
Our tree looks like this:
overview page
-> product1 (CE2 ff. to be selected)
-> product2 (CE2 ff. to be selected)
-> product3 (CE2 ff. to be selected)
That works, of course, if we add each subpage to the "pages"
multiselector in the sitemap CE. But we'd like the sitemap to
recursively and automatically select all subpages of the page it's
residing on.
Unfortunately I haven't yet found a way to have the select.pidInList
property do a recursive pidListing of all subpages.
Is that possible somehow in pure TS?
Thanks & have a great summer day,
Chris
More information about the TYPO3-english
mailing list