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
_______________________________________________
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope-dev )