Re: Re[2]: [PHPTAL] recursive ul/li

2010-05-04 Thread Marco Pivetta
what about adding something like this? Marco Pivetta - Ocramius Aethril http://twitter.com/Ocramius 2010/5/3 GRolf > > > To make matters worse ... would there be a way to show something else on > the last level ? > > I'd like to show a checkbox, but only for the items that don't have any >

Re[2]: [PHPTAL] recursive ul/li

2010-05-03 Thread GRolf
To make matters worse ... would there be a way to show something else on the last level ? I'd like to show a checkbox, but only for the items that don't have any child items. > Use Macros! > > > > > > This will generate nested 's assuming that every "listitem" is an array

Re[2]: [PHPTAL] recursive ul/li

2010-05-03 Thread GRolf
Marco, thanks It took my some time to figure out why this didn't work, untill I realised that I needed an extra to call the defined macro :s Now, it works like a charm! Monday, May 3, 2010, 5:47:43 PM, you wrote: > Use Macros! > > > > > > This will generate nested '