Re: HTML_Menu + level access
| From: | Alexey Borzov | Date: | Thu, 27 Nov 2003 07:20:54 +0000 |
| Subject: | Re: HTML_Menu + level access | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-9173@lists.php.net to get a copy of this message | ||
Hi!
Topachou wrote:
I'm using HTML_menu to output a menu. I'd like to show level 1 to level 2, in an HTML menu on the top of my page. And level 3 to 4, in an another HTML menu on the left of the page. How can I do that ? I need some sort of level access. I've seen in the documentation some things that could do that, but I just can't understand how.I am not sure whether it will actually work, but you can try using SigmaRenderer with a template that contains blocks for differernt levels in different places. http://pear.php.net/manual/en/package.html.html-menu.html-menu-sigmarenderer-summary.php You can also use Array renderer and output its results in any way you like. http://pear.php.net/manual/en/package.html.html-menu.html-menu-arrayrenderer-summary.php