[Zope-CMF] menu

Dieter Maurer dieter@handshake.de
Sun, 1 Jul 2001 23:14:18 +0200 (CEST)


Christoph Schirmer writes:
 > I would like to integrate a simple navigation menu to the index file;
 > Zope Book and other literature have plenty of methods examples for this.
 > However, all of these do not work when integrated to the index method
 > file. E.g. I have the method sitemap that looks like this:
 > 
 >   <dtml-in "objectValues()">
This works only for DTML Methods.

For unknown reasons, many Zope object classes define
an "objectValues" that simply returns "()" (which is not
very intelligent). Apparently, you met such an object.

You may try:
    <dtml-in "PARENTS[0].objectValues()">


Dieter