Can anybody help with a problem I'm having. I've just started using Zope and I'm developing a reasonably simple intranet. The point at which I'm having problems is trying to write a dynamic navigation bar. I have a dtml method called from my standard header which will display certain blocks of dtml dependent on the id of the containing folder. This works fine when the documents are contained in a one folder system, but I have a folder with sub-folders and I would like to be able to display some dtml based on the main folders id. Sure thats clear but hoping for a response so.....
This is part of the method, what I'd like is that a document within a sub-folder of 'Manage' will also display the links:
 
 
<dtml-elif expr="id == 'Manage'">
 <td width="16%" bgcolor="#00CCFF" class="tableEntryActive">
  <h1 class="verdlink"><a href="IISPORTAL">Home</a></h1>
  <h1 class="verdlink"><a href="Manage">News Management</a></h1>
   <ul>
    <dtml-in expr="Manage.objectValues('Folder')">
     <li><a href="&dtml-absolute_url;?search="""><dtml-var title></a></li>
    </dtml-in>
   </ul>
 
Thanks
Tone