Re: HTML_Menu nodes properties mapping in templates
| From: | Didier Galland | Date: | Thu, 18 Sep 2003 07:09:26 +0000 |
| Subject: | Re: HTML_Menu nodes properties mapping in templates | ||
| References: | 1 2 3 4 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-7883@lists.php.net to get a copy of this message | ||
Hi !
I understand the idea, and I agree with you about duplicating features. The
goals of the two packages are differents.
But ;-) I think that expand a node is a useful feature (not to be stored in
cookie like in HTML_TreeMenu though), because It is often needed to show sub
levels even if the level is not active (product categories in a shop must be
always highlighted f.e.).
Best regards and thanks again for your work !
Didier
----- Original Message -----
From: "Alexey Borzov" <borz_off@cs.msu.su>
To: "Didier Galland" <galland@appli-box.com>
Cc: <pear-general@lists.php.net>
Sent: Tuesday, September 16, 2003 5:17 PM
Subject: Re: [PEAR] HTML_Menu nodes properties mapping in templates
> Hi!
>
> Well, HTML_Menu 2.0 is finally released.
>
> Didier Galland wrote:
> > Another great feature would be the possibility to decide if a level must
be
> > collapsed or expanded (see the same feature in dhtml_treeMenu).
> >
> > I think we could be greatly inspired by Dhtml_TreeMenu package : input
from
> > Tree class (createFromSql or createFromXml methods if I remember well),
> > options by node, collapsed/expanded option (+ saved in cookie), etc...
But I
> > don't know very well what is under the hood in this package.
>
> I don't actually want to *duplicate* the functionality of HTML_TreeMenu,
> if it is really needed then HTML_TreeMenu can be used.
>
> I'll consider adding methods to import the menu structure from different
> sources, although.
>
> --
> PEAR General Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>