Re: Building a menu with Sigma
| From: | Alexey Borzov | Date: | Fri, 05 Sep 2003 19:00:38 +0000 |
| Subject: | Re: Building a menu with Sigma | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-7605@lists.php.net to get a copy of this message | ||
Hi!
Birgir Stefansson wrote:
I'm trying to build a menu and rendering it with HTML_Template_Sigma. I run into problems when I try to make a more complex menu than the one shown in the docs for Sigma in CVS which I am building upon.
...
What am I doing wrong ? Is there another way to do this ?1) If you look closer at the examle in Sigma, there is a block containing the normal/selected blocks which gets parse()'d after every item. It is the key to making this work and you left it out. :] 2) Your solution does not scale: if you nest to the 4th level, should you create a subsubsubentry? 3) I am planning to work upon HTML_Menu sometime soon and in the upcoming BC-breaking 2.0 release it will output to Sigma natively. Stay tuned.