[Typo3] get uid of sysfolder with CONTENT object
Sacha Vorbeck
info at unlimited-vision.net
Thu Nov 24 15:50:20 CET 2005
Hi,
I try to receive uids of pages with a CONTENT object. When I use
pidInList.data = leveluid:1 everything works fine but if the page is a
sysfolder, it won`t be listed. So I tried andWhere instead but I can`t
get it to work.
Can anyone see my error?:
# Gets the uids on 1st level
10 = LOAD_REGISTER
10.leveluids.cObject = CONTENT
10.leveluids.cObject {
table = pages
select {
#pidInList works but doesn`t include sysfolders
#pidInList.data = leveluid:1
where = 1=1
andWhere.cObject = TEXT
andWhere.cObject {
data = leveluid : 1
wrap = pid='|'
}
}
renderObj = TEXT
renderObj.field = uid
renderObj.wrap = |,
}
--
thank you - all the best,
Sacha
More information about the TYPO3-english
mailing list