Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Featured Links on Homepage

Quote Reply
Featured Links on Homepage
Hi,

I'd like to put some featured links on my homepage. I found a great thread in here , that did it, but I am tryng to modify it so it goes 3 columns across.
I have the links going 3 columns across in my categories, but when I try to do it on my homepage it messes up all the tables.

So, now I trying to do it in the globals alone and it's still not working, here is what I have:


Code:



sub {
my $link_db = $DB->table('Links');

$link_db->select_options ("ORDER BY rand()","LIMIT 12");
my $sth = $link_db->select ({isFeature => 'yes', isValidated => 'Yes' });
my $output;
while (my $link = $sth->fetchrow_hashref){
$output .= Links::SiteHTML::display ('homepagelink', $link), Links::Utils::column_split($links_loop.length, '3');
}
return $output;
}

any help would be much appreciated
Subject Author Views Date
Thread Featured Links on Homepage shimmy1 6926 Mar 4, 2010, 2:30 PM
Thread Re: [shimmy1] Featured Links on Homepage
Andy 6791 Mar 5, 2010, 12:13 AM
Thread Re: [Andy] Featured Links on Homepage
shimmy1 6785 Mar 5, 2010, 5:45 AM
Thread Re: [shimmy1] Featured Links on Homepage
Andy 6779 Mar 5, 2010, 7:05 AM
Thread Re: [Andy] Featured Links on Homepage
shimmy1 6771 Mar 5, 2010, 7:26 AM
Thread Re: [shimmy1] Featured Links on Homepage
Andy 6754 Mar 5, 2010, 7:28 AM
Thread Re: [Andy] Featured Links on Homepage
shimmy1 6801 Mar 5, 2010, 7:36 AM
Thread Re: [shimmy1] Featured Links on Homepage
Andy 6752 Mar 5, 2010, 7:38 AM
Thread Re: [Andy] Featured Links on Homepage
shimmy1 6757 Mar 5, 2010, 7:47 AM
Thread Re: [shimmy1] Featured Links on Homepage
Andy 6832 Mar 5, 2010, 7:48 AM
Thread Re: [Andy] Featured Links on Homepage
shimmy1 6760 Mar 5, 2010, 7:55 AM
Post Re: [shimmy1] Featured Links on Homepage
Andy 6735 Mar 5, 2010, 8:01 AM