Discussion:
[htmltmpl] loop_context_vars and nested loops
cfaust-dougot
2009-10-20 18:50:43 UTC
Permalink
Hi,

I was wondering if it's at all possible to get utilize the loop_context_vars of a parent loop within a nested loop?

For example, something like this?

<TMPL_LOOP NAME="LoopOne">
<TMPL_LOOP NAME="NestedLoop">
<TMPL_IF NAME="__ParentFirst__">This would be true for the duration of NestedLoop for the 1st loop of LoopOne</TMPL_IF>
</TMPL_LOOP>
</TMPL_LOOP>


TIA!!

Loading...