[Zope3-Users] Menus

David Johnson djohnson at jsatech.com
Mon Feb 19 07:23:57 EST 2007


I am curious what methods people use to implements simple web site  
menus?  It seems to be this must be a common task.

So far I've done this as follows:
1. Create a skin
2. Create a content type Menu as Ordered Container
3. Create a content type MenuItem as contained by Menu
4. Add a Menu and fill it with MenuItems
4. Register Menu
5. Create a macro which returns the Menu using zapi.getUtility()
6. Use the macro in the skin, and display all the MenuItems.

--
David




More information about the Zope3-users mailing list