[htmltmpl] Re: Re: Templates with template loops within templates
Brought to you by:
samtregar
From: Eric F. <er...@dm...> - 2004-12-20 16:37:41
|
Hi Joel, Bad Voodo that you suggest! :) What I ended up doing is that grand either.. I just put the problem var into the hash for the template loop, so it can't miss.. my %inside_hash = ('S_ICON' => $ship_list_hash->{$key}{'courier_icon_url'}, 'S_COURIER' => $ship_list_hash->{$key}{'courier_name'}, 'S_METHOD' => $ship_list_hash->{$key}{'courier_method'} , 'S_METHOD_ID' => $ship_list_hash->{$key}{'ship_method_id'}, 'S_COST' => $ship_list_hash->{$key}{'shipping_cost'}, 'URL_BASE' => $self->param('URL_BASE') ); But I can see if this was an even more complex problem then I would remember your suggestion. It sounds to me like this qualifies as a bug, not just an oddity or a no big deal thing to work around. Thanks, Eric |