[Typo3] contes in a table
Kraft Bernhard
kraftb at gmx.net
Mon Jul 18 10:55:12 CEST 2005
ADavide wrote:
You can retrieve all subpages of a page and then render the contents
of the subpages with something like:
In Constants:
# Rootpage:
lib.startpage = 123
In Setup:
temp.bigpage = CONTENT
temp.bigpage {
table = pages
select {
pidInList = {$lib.startpage}
orderBy = sorting
}
renderObj = CONTENT
renderObj {
table = tt_content
select {
# Use the uid of each previously selected page as pid for the content elements
pidInList.field = uid
orderBy = sorting
}
# We render each content element with the default renderer
renderObj < tt_content
}
}
greets,
Bernhard
--
Kraft Bernhard
MOKKA Medienagentur <http://www.mokka.at>
T: +43 - 1 - 895 33 33 - 50
More information about the TYPO3-english
mailing list