Hello,
I am using this global:
sub {
# Displays New links in category.
my ($output,$sth,$link);
my $id = shift;
my $db = $DB->table ('Links','CatLinks');
$db->select_options ('ORDER BY ADD_DATE DESC', 'LIMIT 1');
my $sth = $db->select ( { isNew => 'Yes'}, { 'CatLinks.CategoryID' => $id}, { isValidated => 'Yes'} );
my $premium;
while ($link = $sth->fetchrow_hashref) {
$output .= Links::SiteHTML::display ('newlink', $link);
}
return $output;
}
with the following tag: <%new_by_cat$ID%>
How come the template "newlink" will not return things that are displayed in the record's detail page, even if they are requested in the "newlink" template?
I have the following tag <%Image_01_path%> that works on the detailed template but not the newlink template, does anyone know why? Or a way to display it?
Thank you for your time.
I am using this global:
sub {
# Displays New links in category.
my ($output,$sth,$link);
my $id = shift;
my $db = $DB->table ('Links','CatLinks');
$db->select_options ('ORDER BY ADD_DATE DESC', 'LIMIT 1');
my $sth = $db->select ( { isNew => 'Yes'}, { 'CatLinks.CategoryID' => $id}, { isValidated => 'Yes'} );
my $premium;
while ($link = $sth->fetchrow_hashref) {
$output .= Links::SiteHTML::display ('newlink', $link);
}
return $output;
}
with the following tag: <%new_by_cat$ID%>
How come the template "newlink" will not return things that are displayed in the record's detail page, even if they are requested in the "newlink" template?
I have the following tag <%Image_01_path%> that works on the detailed template but not the newlink template, does anyone know why? Or a way to display it?
Thank you for your time.