Re: [PHPTAL] [multi dimension array] problem with repeat

2009-02-22 Thread Torsten Hinze
Hmmm ... I think your $options means this: [ $options[0][0] is the first menu item and his subitems are defined in $options[2] [ $options[0][1] is the first menu item and his subitems are defined in $options[2] and so on Is this right? majkel schrieb: > Hi to all. > I am new on this list. > I

[PHPTAL] [multi dimension array] problem with repeat

2009-02-22 Thread majkel
Yes exaclty. Array looks like this. Greetings Majkel ___ PHPTAL mailing list PHPTAL@lists.motion-twin.com http://lists.motion-twin.com/mailman/listinfo/phptal

Re: [PHPTAL] [multi dimension array] problem with repeat

2009-02-22 Thread Torsten Hinze
Hi, I think your current $options isn't well defined. If I have to create a dictionary that contain a menu/submenu structure, then I had chose something like that: --- $options = array([mainNavItem1], [mainNavItem2], ...); [mainNavItem] is defined as array( 'id' => 'mainnav1'