[Zope-CMF] newbie question

Joćo Neves joao@fabricadeideias.com
Fri, 31 Aug 2001 17:06:58 -0300


Hi all,

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')">
      <a href="<dtml-var remote_url>"><dtml-var Title></a><br>
      <dtml-var Description>
  </dtml-in>

This works great except when a link has its status 'private' in which
case an anonymous user is asked to log in.
What I really want is to list all 'Link' objects viewable by the current
user. How can I do this?  Am I WAY OFF?

Thanks in advance

-------------------------------------------
Joćo Neves
joao@fabricadeideias.com
Fabrica de Ideias
SBS - Ed. Empire Center - bl. S - sala 508
cep 70070-904 - Brasilia - DF - Brazil
tel: (61) 321 1357
fax: (61) 223 1712
-------------------------------------------