[TYPO3-english] ID page with special doktype

JoH asenau info at cybercraft.de
Wed May 22 23:04:55 CEST 2013


> 10 = CONTENT
> 10 {
> table = pages
> select {
> pidInList = 1
> recursive = 5
> andWhere = deleted=0 AND hidden=0 AND doktype=254
> }
> renderObj = TEXT
> renderObj.field = uid
> }
>
> ...on frontend empty. ID page does not display

What happens, when you remove the "andWhere" part?
Do you see the IDs of each page within a 5 level structure below page 1?

And another question: What exactly is the reason for this construct?
Maybe there is an easier way to get this done.

HTH

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com


More information about the TYPO3-english mailing list