Not positive about the syntax as I haven't tried to make it work, but I
think you need to do something along these lines (taken from the man page)
test.pl
Do some perl to find out week and all the days
$template->param(cal_week_day => [
{ week => '3',
day => [
{ dayone => '1' },
{ daytwo => '2' },
],
},
],
);
in template
<TMPL_LOOP NAME="cal_week_day">
<TMPL_VAR NAME="week">
<td width='90' height='90' align='right' valign='top'>
<TMPL_VAR NAME="day">
</td>
</tr>
</TMPL_LOOP>
>> -----Original Message-----
>> From: Lew A [mailto:[EMAIL PROTECTED]]
>> Sent: Friday, June 07, 2002 11:05 AM
>> To: [EMAIL PROTECTED]
>> Subject: [htmltmpl] <TMPL_LOOP> Help (fwd)
>>
>>
>> Hello all.
>>
>> I've been trying to get this working for a while now without success. All
>> I need to do is make two loops, one nested within the other. The code I
>> have so far I know won't work the way it is, and I've tried several
>> different ways. If someone has done this before, what I'm trying to
>> display is a calendar with dynamic information. For now I have static
>> information in it (for testing purposes only). I've attached the two
>> documents that I'm working with (the .pl and the .tmpl) if someone could
>> take a look at it and tell me what i'm missing it would be much
>> appreciated.
>>
>> Thank you,
>> Lew A
>> GWI Operations
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]