Hi All,
I am trying out the MyLinks but its not working and I am getting error, Unkown Tag: rate_img
Below is the code from site_html_templates.pl
sub site_html_mylink {
#---------------------------------
my %rec = @_;
($rec{'isNew'} eq 'Yes') ? ($rec{'isNew'} = 1) : (delete $rec{'isNew'});
($rec{'isPopular'} eq 'Yes') ? ($rec{'isPopular'} = 1) : (delete $rec{'isPopular'});
return &load_template ('mylink.html', {
rate_img => &get_rating_image($rec{'Rating'}),
%rec,
%globals
});
}
Please help. Thank you.
Pagla
I am trying out the MyLinks but its not working and I am getting error, Unkown Tag: rate_img
Below is the code from site_html_templates.pl
sub site_html_mylink {
#---------------------------------
my %rec = @_;
($rec{'isNew'} eq 'Yes') ? ($rec{'isNew'} = 1) : (delete $rec{'isNew'});
($rec{'isPopular'} eq 'Yes') ? ($rec{'isPopular'} = 1) : (delete $rec{'isPopular'});
return &load_template ('mylink.html', {
rate_img => &get_rating_image($rec{'Rating'}),
%rec,
%globals
});
}
Please help. Thank you.
Pagla