Thursday 19 January 2006 4:35:15 am
The key variable in the foreach loop is not the same in the {delimit} section and outside of it. This code outputs: {foreach $child_nodes as $index => $child_node} {$index} -
{delimiter}
{$index} {/delimiter} {/foreach}
0 - 1
1 - 2 2 - 3 and so on... Is this a feature or a bug? It happens in eZ 3.7.3, and only when TemplateCompile is enabled. I'm not sure, but I think it worked in earlier versions.
--
Nothing is impossible. Not if you can imagine it!
Hubert Farnsworth
|