[Zope-CMF] newbie question
Jon Edwards
jon@pcgs.freeserve.co.uk
Sat, 1 Sep 2001 12:18:57 +0100
> I'm trying to get a list of links in the portal root (and in nested
> folders as well), so I modified the index_html skin and added:
>
> <dtml-in expr="objectValues('Link')">
If you do...
<dtml-in expr="objectValues('Link')" skip_unauthorized>
...it will ignore all the objects the user doesnt have permission to view.
But I think you might be better hacking at the code of the "news_box" method
in portal_skins/generic, which uses a catalog search to find all news-items
at any level of the site.
Or, if you want to restrict it to just one section of the site, take a look
at Seb's How-To - http://cmf.zope.org/Members/seb/CreateCatalogTool/view
Incidentally Tres/Seb, this doesn't show up in the list of How-Tos in the
Doc section?
HTH
Cheers, Jon