Hi all,

Firstly, I am new to the H::T list, but I have been using H::T for well over a year 
now.

I am having a problem with TMPL_VAR's not existing in nested loops. eg:

<TMPL_LOOP loop1>
    <TMPL_LOOP loop2>
        <TMPL_VAR var1_loop1>
    </TMPL_LOOP>
</TMPL_LOOP>

where 'var1_loop1' is a template var from the first loop.

Things to note:
- I have global_vars enabled
- I have loop_context_vars enable (even though this is irrelevant).
- I am using H::T 2.6  and H::T::E 0.4  (ie the latest)

I have searched through the archives (and read most of the archive going back at least 
12 months), and found that others have also had this problem.
I know how to work around the problem - simply reference the TMPL_VAR in the outer 
loop using a <TMPL_IF var1_loop1></TMPL_IF>, but seems like a kludge.

So my question is, "Has this bug been solved, and/or anyone got a solution to this?"

regards,
Mathew



Mathew Robertson     Senior Technical Support Engineer
[EMAIL PROTECTED] 

96-98 Market Street                              +61 3 8606 4041      tel
South Melbourne, Vic 3205                  +61 3 8606 4001      fax
www.redsheriff.com.au 

This message and any files transmitted with it are confidential and intended solely 
for the use of the individual or entity to whom they are addressed. If you are not the 
intended recipient, you are hereby notified that any use or dissemination of this 
communication is strictly prohibited. If you have received this message in error 
please notify us immediately by return email or telephone +1 (212) 905-6115, then 
delete this message. Any views expressed in this message are those of the individual 
sender and may not necessarily reflect the views of RedSheriff. 
BEGIN:VCARD
VERSION:2.1
N:Robertson;Mathew
FN:Mathew Robertson
ORG:RedSheriff
TEL;WORK;VOICE:+61 3 8606 4041
URL;WORK:http://www.redsheriff.com
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20031106T040622Z
END:VCARD

Reply via email to