22979 Posts in 11808 Topics by 2827 members
|Go to End|
16 April 2009 at 9:28pm
I need to access the numerical index in a control loop. I was thrilled to find the following
"you can use $Iterator inside a control-block to access the numerical index of the current item".
Unfortunately I get the following error when I try use $Iterator in a 'control children' structure:
Fatal error: Call to undefined method ViewableData_Iterator::forTemplate()
16 April 2009 at 9:41pm
The article that I found was incorrect - I see that the correct method is $pos. I'll respond to the article.
|Go to Top|