1 Sep
2006
1 Sep
'06
12:21 p.m.
On Thu, Aug 31, 2006 at 04:46:22PM -0500, T.J. Yang wrote:
I implemented your suggestion on my test server with lots of manually editing.
This patch will build the menu-entry definitions automatically. It won't update your menu_items.js file, but since it only needs changing when new pages/subpages are added, I guess that can be done manually.
To use it, run bbgen with the "--menufile=/tmp/menu.inc" option (use any filename you like), and bbgen will then dump the menu-items for the tree structure of the webpages. Edit your menu_items.js file and include the generated menu entries into the main file.
Regards, Henrik