[Zope-CMF] newbie question

Tres Seaver tseaver@zope.com
Sun, 02 Sep 2001 23:47:30 -0400


Jon Edwards wrote:

>>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?


That list is a CMFTopic, with the criterion that the Subject must

contain 'how-to'.


Tres.
===============================================================
Tres Seaver                                tseaver@zope.com
Zope Corporation      "Zope Dealers"       http://www.zope.com