Hello, I know there must be a simple solution for this problem, but i didn't find it in docs.
How can i print out inside FOREACH loop (or WHILE or WHATEVER) how many loops it has already done? Is there some kinda counter which counts it? Basically I'd like to get something like this: [% FOREACH element = array %] [% loop.number %]. [% element.value %] [% END %] output: 1. value1 2. value2 3. value3 ...... I could increment my own counter, but it seems too hard. Rgds, Viljo
