Here's my code. If I have all understood it is supposed to display all objects that have a donav='yes' property.... Everything is displayed with this code... What's wrong :( ? <!--#tree expr="PARENTS[-1]" --> <SPAN CLASS="tree"> <!--#if tree-item-expanded--> <!--#if expr="navigate_filter('donav','yes',_.None)"--> <dtml-with images_general><dtml-var openbook></dtml-with> <!--#/if--> <STRONG><I><!--#var title--></I></STRONG> <!--#else--> <!--#if expr="navigate_filter('donav','yes',_.None)"--> <dtml-with images_general><dtml-var closedbook></dtml-with> <!--#/if--> <!--#var title--> <!--#/if--> </SPAN> <!--#/tree--> Andreas Kostyrka wrote:
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
_______________________________________________ Zope maillist - Zope@zope.org http://www.zope.org/mailman/listinfo/zope
(To receive general Zope announcements, see: http://www.zope.org/mailman/listinfo/zope-announce
For developer-specific issues, zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
-- >> WinErr: 080 Clavier introuvable - Veuillez appuyer sur n'importe quelle touche pour continuer. << Arnaud LECAT >> Email: lecat@hexanet.fr >> WWW page:www.hexanet.fr/~lecat HEXANET >> http://www.hexanet.fr Z.A. Farman sud - 9 rue Roland Coffignot BP 415 - 51689 Reims Cedex 2 - France phone: (33) 03 26 79 30 05 Fax: (33) 03 26 79 30 06