[Zope-CMF] How to build an additional menu

Tres Seaver tseaver@zope.com
Tue, 16 Oct 2001 08:28:50 -0400


seb bacon wrote:

> * Tille, Andreas <TilleA@rki.de> [011016 09:00]:
> 
>>I have to build a CMS for some editors and they would like to have an
>>additional menu below the secondary menu on the left site which
>>reperesents the structure of the contents they created.  It should be
>>kind of an explorer view (tree) of the folders they create.
>>
>>Any hints where to start with this task?
>>
> 
> Add a <dtml-tree> tag to standard_html_header in your skin, and play
> with it.  Use the DTML Reference in the Zope help for more info.
> 
> Sorry, only a very short hint :-)

Something like this would do::

   <dtml-tree branches_expr="contentValues( 'Portal Folder' )">
    <a href="&dtml-absolute_url;"><dtml-var getId></a>
   </dtml-tree>

Or, if you are using ZPT, check out the ZTUtils.Tree module.

Tres.
-- 
===============================================================
Tres Seaver                                tseaver@zope.com
Zope Corporation      "Zope Dealers"       http://www.zope.com