I think the only way to do nested structures with PHPTAL is using
Metal's macros. Have you looked at it?
On Fri, Aug 8, 2008 at 6:18 PM, Guillaume Lecanu <[EMAIL PROTECTED]> wrote:
> I need to make a menu, with some sub-menus and other sub-menus etc.
> For example :
> * Menu A :
> * A1
> * A2
> * Hello
> * World
> * A3
> * Menu B
> * B1
> * PHPTAL
> * Rocks !
> * B2
> So in XHTML this is list of <ul>:
> <li>Menu A
> <li>Menu B
> But all the structure is stored in DB, so I don't know in advance if one
> menu have 1, 2, or 10 childrens, and I don't know if a children is a
> I know how to do that in PHP without PHPTAL, but how is it possible to do
> that kind of XHTML code with PHPTAL ?
> Thanks a lots for your help.
> PHPTAL mailing list
PHPTAL mailing list