[Zope] Make Navigation

Jaroslav Lukesh lsh@wo.cz
Wed, 5 Jun 2002 11:30:58 +0200


Hi, 

I want to make navigation DTML methods for:

But I have these problems:

* child level - it works even in folder that does not have own index_html
method inside:
------------
<dtml-in "PARENTS[0].objectValues(['Folder'])" sort=title>
<a href="<dtml-var URL1>/<dtml-var id>"><dtml-var title_or_id></a><br>
</dtml-in> 

And what for thats ?

* parent level (list of all objects at above level of hierarchy)

* top level of web
---------------
<dtml-in "PARENTS[-1].objectValues(['Folder'])" sort=title>
<a href="<dtml-var URL1>/<dtml-var id>"><dtml-var title_or_id></a><br>
</dtml-in> 

--- but this is problem, because this make list of "Root Folder" objects. 
I want to have list of topmost objects in first level of subdirs (alias
future virtual webs).

Many thanks for help.

             Jaroslav Lukesh, K-net
------------------------------------------------------------------------
www.k-net.cz  Multimedia, Networking, Communications, terminals, NC, R+D