[Zope] DTML problem

Wolfgang Klinger front@wazum.com
Wed, 26 Jul 2000 08:37:31 +0200


Hi!

----------------------------
I use the following expression in a header file
which is included in every document/method
to get the content of the actual folder and
show the title as menue item.

 <dtml-in expr="PARENTS[0].objectValues(['DTML Document'])" sort=title>
      
      <tr>
        <td><a href="<dtml-var "absolute_url()">"><dtml-var title></a></td>
      </tr>

 </dtml-in>

But I don't want to show the current "DTML Document" as part 
of the menue.
----------------------------

example:

Communication (Folder)
 |
 |
 |- <default_html_header> (DTML Method)
 |
 |- Contact (Folder)
 |   |
 |   |- <index_html> (DTML Document)>
 |   |- <contact_addForm> (DTML Document)>
 |   |- ....
 |
 |- News (Folder)
 .   |
 .   |- <index_html> (DTML Document)>
     |- ....

ok, <default_html_header> uses the dtml expression above
and is included in every other document/method/whatever ...

<contact_addForm> includes <default_html_header> and
I don't want to show <contact_addForm> in the menue!!!!

How can I exclude the current document?

TIA
Wolfgang