Package: collective - MenuGenerator
a system for generating menus and the like
a test of SfIndex product
Sourceforge Info
| Project Name: | collective |
| Package Name: | MenuGenerator |
| Files Page: | http://sourceforge.net/project/showfiles.php?group_id=55262&package_id=121916 |
| Browse CVS: | http://cvs.sourceforge.net/viewcvs.py/collective/MenuGenerator/ |
Releases
| Release Date | Release Name | Download | |
|---|---|---|---|
| 2004-06-22 22:00 | 0.9 | sourceforge |
Package README (CVS ver. 1.1.1.2)
This is a system for generating menus and the like. Its in the early stages but
seems to work well for me. Its designed to be easily extended and works the
following way:
input frontend (generator) -> [node tree of commands] -> output backend
(emitter)
sample frontend exist for
ZODB / CMFish sites
Filesystem trees
XML config files (uses pyxml)
Metadata expansion tree
Scriptable Generator
of these the last is why I wrote the tool and the one I think the most
interesting.
Output backends exist for
Simple HTML lists
TreeMenu (www.treemenu.com which happens to be frames based)
Ultimate Drop Down (www.brothercake.com/dropdown)
Scriptable output
A couple of others
It is my hope that others will contribute improvements and additions
to both front and back end drivers.
The menu_tool itself currently does nothing for now. Its my intention
that you will be able to list registered menu code and choose
different backend emitters using this tool. Eventually each type of
generator/emitter could have its own config screen.
For now in your project register menus by adding code like:
registerMenu('simple_nav', XMLGenerator, GazingusEmitter)
registerMenu('udm_nav', XMLGenerator, UltimateEmitter,
commandClass=UltimateCommand)
The main_templates/headers will have to be hacked by hand till we slot
in the right hooks.
-Ben Saller <bcsaller@ideasuite.com>