[Zope-CMF] Newbie: Listing Portal Contents
Meilicke, Scott
scott.meilicke@intp.com
Tue, 30 Oct 2001 07:50:13 -0800
I use something like:
<dtml-in expr=3D"objectValues('Portal Topic')" skip_unauthorized>
<dtml-with sequence-item>
<a href=3D"<dtml-var absolute_url>"><dtml-var
title_or_id></a>
<hr size=3D"1">
</dtml-with>
</dtml-in>
You may need to wrap this with <dtml-with expr=3D"PARENTS[0]"> =
</dtml-with> to
get it working.
objectValues('Portal Topic', 'Portal Folder') will do topics and =
folders,
and plain objectValues() get's everything I think.
-Scott
-----Original Message-----
From: Dicken, Peer [mailto:Peer.Dicken@imd-gruppe.de]
Sent: Tuesday, October 30, 2001 12:28 AM
To: 'zope-cmf@zope.org'
Subject: [Zope-CMF] Newbie: Listing Portal Contents
Hi,
well, it=B4s simple with "normal" Zope, but inside the CMF, it does not
work...
I want to list the content of a portal folder. How can I do that? I=B4m =
new to
the CMF and it seems that some things I used to do with dtml do not =
work
with the cmf.
Please help ...
bye
Peer Dicken
_______________________________________________
Zope-CMF maillist - Zope-CMF@zope.org
http://lists.zope.org/mailman/listinfo/zope-cmf
See http://www.zope.org/Products/PTK/Tracker for bug reports and =
feature
requests