[Zope] DTML problem

George Donnelly gsd@mac.com
Wed, 26 Jul 2000 15:54:01 +0900


this is probably a hack but you could use the id of the document you want to
exclude with an unless statement.  this is what i did when i wanted to
exclude the index_html doc

<dtml-in "PARENTS[0].objectValues(['DTML Document'])" reverse
sort=bobobase_modification_time>
<dtml-unless "_.string.find(_['id'],'index_html')==0">
<p><a href="<dtml-var URL1>/<dtml-var id>"><dtml-var title></a><br>
<dtml-if jdate><dtml-var jdate><br></dtml-if>
<dtml-if summary> <dtml-var summary><br></dtml-if>
last modified: <dtml-var bobobase_modification_time fmt=pCommon><p>
</dtml-unless>
</dtml-in>

hth

Regards,
GEORGE DONNELLY
george@cyklotron.com
http://cyklotron.com/
Part of becoming a writer is the desire to have everything mean something.
--Louise Erdrich

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