[Zope] Mapping a site

Andreas Kostyrka andreas@mtg.co.at
Mon, 23 Aug 1999 10:38:47 +0200 (CEST)


On Mon, 23 Aug 1999, Arnaud Lecat wrote:

> Ok, I've downloaded the Navigation product but the doc is very *light*
> 
> How do you use it ? (key ? value ?)
Well, you put a donav property on all folders you want it show.
(donav="yes")
Then, you use this expression instead of objectValues():
navigate_filter('donav',_.None,'Folder')
(This finds all Folders that do have a donav attribute)
navigate_filter('donav','yes','Folder')
(This finds all Folders with donav=='yes')
navigate_filter('donav',_.None,_.None)
(This finds all objects that do have an donav attribute.)

Also note, that navigate_filter by default surpresses Acquisition, meaning
that you don't get all subfolders displayed by default.

Andreas
--
Andreas Kostyrka                     | andreas@mtg.co.at
phone: +43/1/7070750                 | phone: +43/676/4091256   
MTG Handelsges.m.b.H.                | fax:   +43/1/7065299
Raiffeisenstr. 16/9                  | 2320 Zwoelfaxing AUSTRIA