PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » HTML » HTML_Menu » Bug #6256

add list renderer

Details

Request #6256add list renderer
Submitted2005-12-15 23:30 UTC
Fromcweiske at cweiske dot de
StatusWont fix
PackageHTML_Menu
PHP VersionIrrelevant
OSA ny
Roadmaps(Not assigned)

Comments

[2005-12-15 23:30 UTC] cweiske at cweiske dot de

Description:
------------
It would be nice if HTML_Menu would ship with a ListRenderer which renders the menus as a set of <li> and <ul> tags, as it becomes more and more common.

I did an implementation for that; it is not the best code, but it works and supports all five menu types:
http://xml.cweiske.de/ListRenderer.phps

Maybe you want to include it.

[2005-12-19 07:23 UTC] cweiske at cweiske dot de

> HTML_Menu already ships with a DirectTree renderer
> which does exactly that
Sorry, didn't see that file.

> What new features does your renderer adds
> compared to these?
It has the template pre-set and works out of the box for all types - so it's less work for people. But nothing really better, now that there is DirectTreeRenderer.