No subject
Sat Aug 2 09:08:20 CEST 2014
I would like to adapt /Configuration/ContentElements/Base.ts to get all subpages of the active page separated by <section>. The following code brings just the actual page and content. I need all within the tree.
lib.dynamicContent = COA
lib.dynamicContent {
5 = LOAD_REGISTER
5 {
colPos.cObject = TEXT
colPos.cObject {
value.current = 1
ifEmpty = 0
}
}
20 < styles.content.get
20.select.where = colPos={register:colPos}
20.select.where.insertData = 1
20.wrap = <section id="{field:css_id}" class="{field:css_class}">|</section>
}
lib.dynamicContentSlide < lib.dynamicContent
lib.dynamicContentSlide.20.slide = -1
Thank you for you help.
More information about the TYPO3-english
mailing list