Menu add-on: menu browser
| From: | Ulf Wendel | Date: | Thu, 22 Mar 2001 20:10:53 +0000 |
| Subject: | Menu add-on: menu browser | ||
| Groups: | php.pear.dev php.pear.general | ||
| Request: | Send a blank email to pear-dev+get-68@lists.php.net to get a copy of this message | ||
Hi,
I've written a simple add-on to the Experimental/HTML/Menu class. It
scans a directory and maps the structure it finds to a menu class hash.
Just run it over your document root, let it generate the (structure:
url, sub) hash you need for the menu class and add some more menu
informations (e.g. title) from your content files. Wrap the cache around
it, call it "content management" and earn money with it.
German readers might want to have a look on this article:
http://www.ulf-wendel.de/projekte/menu/browser.php,
all others might
want to check the inline docs.
Ulf