Re: how?
"Brandon Long" <[email protected]>
| Newsgroups | gmane.text.clearsilver.general |
|---|---|
| Message-ID | <[email protected]> |
There's no way to "break" out of an each/loop in ClearSilver. You can loop through everything and only choose to show the first two (maintaining a counter), but its not the prettiest solution. Brandon On 7/1/07, zeegco <[email protected]> wrote: > Hi, > I have an hdf tree and I want to traverse it and only show every two > first childs of every node (and not more childs). how can I do this? > (in a template) > > can we break a loop/each in our templates? if yes, how? > > tnx > > > > > Yahoo! Groups Links > > > > >