Re: AW: list of objects - thanks
Alois Blasbichler <[email protected]>
| Newsgroups | gmane.comp.cms.zms.devel |
|---|---|
| Message-ID | <[email protected]> |
Thank you again Ok so i see my contents like files. But my problem i see only my files in my actual folder. How i make a iteration of all my subfolders ? I would have a list like this : folder A file 1 file2 .... subfolder A1 file 1 ... folderB ..... Bye luis ________________________________ From: Niels Dettenbach <[email protected]> To: [email protected] Sent: Tue, December 15, 2009 2:20:35 PM Subject: Re: AW: [zms-developers] list of objects - thanks On Tuesday 15 December 2009 13:55:33 you wrote: > <dtml-in "getChildNodes( REQUEST)" > > <dtml-var "getObjProperty( 'title',REQUEST) "> > </dtml-in> > "folders" are "content" too. you have to declare the meta_type of the required content objects - i.e. if you want to look for all objects "on" the page(s) you have to filter against the meta_types PAGEELEMENTS (instead of "PAGES" or all). example: <dtml-in "getChildNodes(REQUEST,PAGEELEMENTS)"> <dtml-var id> <br /> </dtml-in> Please be aware that most "content" objects of type PAGEELEMENTS has no "title" (makes no sense for the most of them) - this is why i used "id" instead for this example here. see here for more details: http://www.zms-publishing.com/support/content/e732/e739/e758/e1095/ hth best regards, Niels. -- --- Niels Dettenbach --- Syndicat IT&Internet http://www.syndicat.com T.-Muentzer.-Str. 2, 37308 Heilbad Heiligenstadt - DE --- Kryptoinfo: PGP public key ID 651CA20D Fingerprint: 55E0 4DCD B04C 4A49 1586 88AE 54DC 4465 651C A20D https://syndicat.com/pub_key.asc ---