21285 Posts in 5732 Topics by 2602 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1184 Views |
-
$Iterator doesn't work

16 April 2009 at 9:28pm
Hi
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()Any ideas?
Thanks!
-
Re: $Iterator doesn't work

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.
| 1184 Views | ||
|
Page:
1
|
Go to Top |

