Gossamer Forum
Quote Reply
Global Question 2
Hi to all !!!!
I want include MyLinks script on home.html but with a different templates...
trought Template Globals
This Global it's correct ??? :
---------------------------------------------------
sub {
# Displays Mylinks on the home page.
my ($output,$sth,$link);
my $search_db = $DB->table('Links');
$search_db->select_options ('ORDER BY ADD_DATE DESC Limit 5');
$sth = $search_db->select ( { isNew => 'Yes'});
while ($link = $sth->fetchrow_hashref) {
$link->{Title} =~ s,^(.{20}).*$,$1...,;
$output .= Links::User::Favorites::display ('NewTemplate', $link);
}
return $output;
}
--------------------------------------------------
Someone can help me ???


Thanks in Advance
Bye From Italy
Subject Author Views Date
Thread Global Question 2 fabio 3902 Mar 4, 2002, 1:45 AM
Thread Re: [fabio] Global Question 2
Paul 3819 Mar 4, 2002, 2:43 AM
Thread Re: [RedRum] Global Question 2
fabio 3815 Mar 4, 2002, 2:56 AM
Thread Re: [fabio] Global Question 2
Paul 3792 Mar 4, 2002, 3:05 AM
Thread Re: [RedRum] Global Question 2
fabio 3778 Mar 4, 2002, 3:10 AM
Thread Re: [fabio] Global Question 2
Paul 3760 Mar 4, 2002, 3:14 AM
Thread Re: [RedRum] Global Question 2
fabio 3764 Mar 4, 2002, 3:27 AM
Thread Re: [fabio] Global Question 2
fabio 3775 Mar 5, 2002, 3:59 AM
Thread Re: [fabio] Global Question 2
fabio 3708 Mar 14, 2002, 6:31 AM
Post Re: [fabio] Global Question 2
Paul 3727 Mar 14, 2002, 6:48 AM