Gossamer Forum
Quote Reply
Fix Global Please
In the forum, I found this global. But its not working properly with version 3.20. Its giving a Unknown Tag Detailed URL. I know its missing the property which pases along the TAG as links.html but I cant place it correctly.

Help is much apreciated.

sub {
# Displays the newest on the home page.
my ($output,$sth,$link);
my $search_db = $DB->table('Links');
$search_db->select_options ('ORDER BY Add_Date DESC Limit 10');
$sth = $search_db->select ( { isNew => 'Yes', isValidated => 'Yes' });
while ($link = $sth->fetchrow_hashref) {
if (length $link->{Title} > 20) {
$link->{Title} = substr($link->{Title}, 0, 20) . '...';
}
$output .= Links::SiteHTML::display ('link_new_videos', $link);
}
return $output;
}

Thank you.

Juan Carlos
Subject Author Views Date
Thread Fix Global Please Gorospe 3269 Jan 10, 2007, 4:53 PM
Thread Re: [Gorospe] Fix Global Please
tandat 3168 Jan 10, 2007, 6:00 PM
Thread Re: [tandat] Fix Global Please
Gorospe 3168 Jan 10, 2007, 6:03 PM
Thread Re: [Gorospe] Fix Global Please
tandat 3154 Jan 10, 2007, 6:08 PM
Post Re: [tandat] Fix Global Please
Gorospe 3147 Jan 10, 2007, 6:15 PM