Re: [htmltmpl] Small lisst error happening..

2003-09-15 Thread Philip S Tellis
On Mon, 15 Sep 2003, Thomas Charron wrote: > Here is whats happening. It seems WHENEVER I pass loop_context_vars => > 1 in the new, I get this: > > [Mon Sep 15 17:38:18 2003] [error] [client 192.168.0.204] [Mon Sep 15 > 17:38:18 2003] WebApp.pl: Error executing run mode 'usermainpage': > HTML:

Re: [htmltmpl] Nested loops and __first__

2003-09-15 Thread Karen J. Cravens
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'

Re: [htmltmpl] Nested loops and __first__

2003-09-15 Thread Karen J. Cravens
On Sun, 14 Sep 2003, Sam Tregar wrote: ST>Have you tried turning off global_vars? Does that solve the problem ST>with __first__? What version of HTML::Template are you using? Turned out it wasn't the version of HTML::Template, exactly, but the version of Perl. I hadn't tried turning off global

[htmltmpl] Small lisst error happening..

2003-09-15 Thread Thomas Charron
Ok, I've now pulled my hair out.. I'm using HTML::Template for the first time, I've always done it using my own custom rolled template system from way back. Here is whats happening. It seems WHENEVER I pass loop_context_vars => 1 in the new, I get this: [Mon Sep 15 17:38:18 2003] [error]

RE: [htmltmpl] Nested loops and __first__

2003-09-15 Thread Ben Ausden
> > I've got a __first__ that isn't acting the way I expect it... > it's always false. I'm wondering if that's happening because > I've got global_vars on and it's the inner loop of a two-loop nest. You are setting loop_context_vars, aren't you? Ben ---