
Andy
Enthusiast
Karma: -1 / +7

Oct 1, 2004, 11:52 PM
Post #2 of 2
(21586 views)
Shortcut
Send Andy a wink
|
|
Re: [jag] Choosing which link appears
[In reply to]
|
Can't Post
|
|
Do you mean "hardcode" in the link that shows up? Its a little tricky, as the whole process is worked on with the assumption that you want to show the most popular link each week :p Why not just use a simple global? <%global_name('12345')%> (where 12345 is the ID number of the link you want to show)
sub { my $link = $DB->table('Links')->select( { ID => $_[0] } )->fetchrow_hashref; return Links::SiteHTML::display('link.html', $link); } Hope that helps. Cheers Andy Programmer/Designer/LinksSQL Freak http://www.ultranerds.com http://www.imagesql.com
|