[htmltmpl] Nested TMPL_LOOPs
Brought to you by:
samtregar
From: Jason D. <ja...@di...> - 2009-09-19 19:23:31
|
Wondering if there's a limit to the number of recursive TMPL_LOOPs it can handle. I have a structure 3 levels deep and it works for the first nest, but not to the last level. Here's a dump of the data: http://pastebin.com/m630138aa And here is the template structure: http://pastebin.com/m5d6383a2 It works fine for the first level of VARs as well as everything inside 'month_loop', but it fails on 'uri_loop' with the following error: [Sat Sep 19 14:43:24 2009] [error] PerlRun: `HTML::Template->output() : fatal error in loop output : HTML::Template->output() : fatal error in loop output : HTML::Template::param() : attempt to set parameter 'uri_loop' with a scalar - parameter is not a TMPL_VAR! at /usr/local/libdata/perl5/site_perl/HTML/Template.pm line 3068\n at /usr/local/libdata/perl5/site_perl/HTML/Template.pm line 3069\n at /blogsum/index.cgi line 63\n' The structure looks clean to me, so I'm not sure what I might be overlooking. Any suggestions? Thanks, -- Jason Dixon DixonGroup Consulting http://www.dixongroup.net/ |