I want to get a png template processed . I am trying to call a CGI script to process the template . for the image url iam giving the CGI script path.
[% imageurl = BLOCK %]bugsummeryperio d.cgi?[% urlquerypart FILTER html %]&type=4& ;
here iam trying to change the variable 'type ' and call the cgi script. In the cgi script i have a conditional statement for
type ==4
[code=perl]
}elsif( $cgi->param('type' ) == 4)
{
$vars->{'data'} = \@data;
$template->process("summe ry/report-line1.png.tmpl" , $vars)
|| ThrowTemplateEr ror($template->error());
}
[/code]
now i think still the cgi script is not getting called. What can be the error??
[% imageurl = BLOCK %]bugsummeryperio d.cgi?[% urlquerypart FILTER html %]&type=4& ;
here iam trying to change the variable 'type ' and call the cgi script. In the cgi script i have a conditional statement for
type ==4
[code=perl]
}elsif( $cgi->param('type' ) == 4)
{
$vars->{'data'} = \@data;
$template->process("summe ry/report-line1.png.tmpl" , $vars)
|| ThrowTemplateEr ror($template->error());
}
[/code]
now i think still the cgi script is not getting called. What can be the error??
Comment