From: henrik (at) hswn.dk (Henrik Stoerner) Reply-To: hobbit (at) hswn.dk To: hobbit (at) hswn.dk Subject: Re: [hobbit] Feature request: better default navigation experience Date: Fri, 1 Sep 2006 14:21:18 +0200
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.
Company > sectors > network > server > web
Example from ebay.
eBay Motors > Powersports > Scooters & Mopeds > Honda http://cgi.ebay.com/ebaymotors/HONDA-METROPOLITAN-SCOOTER_W0QQitemZ150028404448QQihZ005QQcategoryZ42593QQrdZ1QQcmdZViewItem
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
<< bbgen-menutree.patch >>
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe (at) hswn.dk