Re: [htmltmpl] Nested loops and __first__
Brought to you by:
samtregar
From: Karen J. C. <si...@ph...> - 2003-09-15 23:39:36
|
On Mon, 15 Sep 2003, Karen J. Cravens wrote: KJC>As is usual, I discovered this only *after* posting the question to the KJC>list... And after that, I realized things still aren't working quite right. It's not the loop variables, though. It's the nested loop. I've got globals turned on. If I've got something like this: <TMPL_LOOP A> <TMPL_VAR able> <TMPL_VAR alpha> <TMPL_LOOP B> <TMPL_VAR baker> <TMPL_VAR bravo> <TMPL_VAR able> <TMPL_VAR alpha> ... (with a parameter being passed an appropriately-nested array), able shows up in both loops. If I change it to this: <TMPL_LOOP A> <TMPL_VAR alpha> <TMPL_LOOP B> <TMPL_VAR baker> <TMPL_VAR bravo> <TMPL_VAR able> <TMPL_VAR groupname> abel won't show up, alpha will. -- Karen J. Cravens si...@ph... |