Listing objects in a specifik folder
Hello, I am working on a site and I need to list all documents in a specifik folder. There is just one problem - the folder isn't in the REQUEST. Now it is a subfolder to my "mainfolder". It is called About. If I say <dtml-if /mainfolder/About> <dtml-in /mainfolder/About> it never shows up. If I let out the <dtml-if> tag I get a key error ... Anything I have misunderstood ? Regards, -- ************************ Gitte Wange Jensen System Squid Developer MMManager Aps +45 29 72 79 72 gitte@mmmanager.org ************************
What about?... <dtml-if "mainfolder.About"> <dtml-in "mainfolder.About.objectValues('document or list of meta types')"> <a href="<dtml-var absolute_url>"><dtml-var id> (<dtml-var title>)</a><br> -----Message d'origine----- De : zope-admin@zope.org [mailto:zope-admin@zope.org]De la part de Gitte Wange Envoyé : mercredi 18 avril 2001 09:48 À : zope@zope.org Objet : [Zope] Listing objects in a specifik folder Hello, I am working on a site and I need to list all documents in a specifik folder. There is just one problem - the folder isn't in the REQUEST. Now it is a subfolder to my "mainfolder". It is called About. If I say <dtml-if /mainfolder/About> <dtml-in /mainfolder/About> it never shows up. If I let out the <dtml-if> tag I get a key error ... Anything I have misunderstood ? Regards, -- ************************ Gitte Wange Jensen System Squid Developer MMManager Aps +45 29 72 79 72 gitte@mmmanager.org ************************ _______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (2)
-
Gitte Wange -
Peter Bengtsson