Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: [Jobu] Building a Cool/New-Like Featured/Priority Page

Quote Reply
Re: [Jobu] Building a Cool/New-Like Featured/Priority Page In reply to
Opps... I found a few mistakes... (I copied from something else).

Hopefully, this will work:

Code:

my $pageNum = $IN->param('page') || 1;
# number of links per page
my $linksPP = 10;
my $start = $linksPP*$pageNum - $linksPP;
my ($sth,$tab,$output);
$tab = $DB->table('Links');
$tab->select_options('LIMIT ' . $linksPP . ' OFFSET ' . $start);



Replace that with the lines that are like it.

You could probably also edit $linksPP to say

my $linksPP = $CFG->{build_links_per_page};

- Jonathan

Last edited by:

jdgamble: Aug 28, 2006, 7:39 PM
Subject Author Views Date
Thread; hot thread Building a Cool/New-Like Featured/Priority Page Jobu 12751 Aug 26, 2006, 11:03 PM
Thread; hot thread Re: [Jobu] Building a Cool/New-Like Featured/Priority Page
jdgamble 12567 Aug 27, 2006, 4:03 PM
Thread; hot thread Re: [jdgamble] Building a Cool/New-Like Featured/Priority Page
Jobu 12482 Aug 27, 2006, 5:31 PM
Thread; hot thread Re: [Jobu] Building a Cool/New-Like Featured/Priority Page
jdgamble 12506 Aug 27, 2006, 8:45 PM
Thread; hot thread Re: [jdgamble] Building a Cool/New-Like Featured/Priority Page
Jobu 12511 Aug 27, 2006, 9:39 PM
Thread; hot thread Re: [Jobu] Building a Cool/New-Like Featured/Priority Page
jdgamble 12456 Aug 28, 2006, 6:50 PM
Thread; hot thread Re: [jdgamble] Building a Cool/New-Like Featured/Priority Page
Jobu 12490 Aug 28, 2006, 7:00 PM
Thread; hot thread Re: [Jobu] Building a Cool/New-Like Featured/Priority Page
jdgamble 12454 Aug 28, 2006, 7:08 PM
Thread; hot thread Re: [jdgamble] Building a Cool/New-Like Featured/Priority Page
Jobu 12534 Aug 28, 2006, 7:11 PM
Thread; hot thread Re: [Jobu] Building a Cool/New-Like Featured/Priority Page
jdgamble 12460 Aug 28, 2006, 7:17 PM
Thread; hot thread Re: [jdgamble] Building a Cool/New-Like Featured/Priority Page
Jobu 12466 Aug 28, 2006, 7:20 PM
Thread; hot thread Re: [Jobu] Building a Cool/New-Like Featured/Priority Page
jdgamble 12585 Aug 28, 2006, 7:36 PM
Thread; hot thread Re: [jdgamble] Building a Cool/New-Like Featured/Priority Page
Jobu 12427 Aug 28, 2006, 8:26 PM
Thread; hot thread Re: [Jobu] Building a Cool/New-Like Featured/Priority Page
jdgamble 12444 Aug 28, 2006, 9:11 PM
Thread; hot thread Re: [jdgamble] Building a Cool/New-Like Featured/Priority Page
Jobu 12432 Aug 28, 2006, 9:42 PM
Thread; hot thread Re: [Jobu] Building a Cool/New-Like Featured/Priority Page
jdgamble 12439 Aug 28, 2006, 11:30 PM
Thread; hot thread Re: [jdgamble] Building a Cool/New-Like Featured/Priority Page
Jobu 12457 Aug 29, 2006, 7:40 AM
Thread; hot thread Re: [Jobu] Building a Cool/New-Like Featured/Priority Page
jdgamble 12392 Aug 29, 2006, 8:54 AM
Post; hot thread Re: [jdgamble] Building a Cool/New-Like Featured/Priority Page
Jobu 12463 Aug 29, 2006, 9:09 AM
Thread; hot thread Re: [Jobu] Building a Cool/New-Like Featured/Priority Page
jdgamble 12447 Aug 29, 2006, 11:57 AM
Thread; hot thread Re: [jdgamble] Building a Cool/New-Like Featured/Priority Page
Jobu 12380 Aug 29, 2006, 12:44 PM
Thread; hot thread Re: [Jobu] Building a Cool/New-Like Featured/Priority Page
jdgamble 12440 Aug 29, 2006, 5:10 PM
Thread; hot thread Re: [jdgamble] Building a Cool/New-Like Featured/Priority Page
fuzzy logic 3552 Aug 29, 2006, 7:22 PM
Thread; hot thread Re: [fuzzy logic] Building a Cool/New-Like Featured/Priority Page
jdgamble 3554 Aug 29, 2006, 7:53 PM
Thread; hot thread Re: [jdgamble] Building a Cool/New-Like Featured/Priority Page
Jobu 3542 Aug 29, 2006, 10:56 PM
Thread; hot thread Re: [Jobu] Building a Cool/New-Like Featured/Priority Page
fuzzy logic 3561 Aug 29, 2006, 11:11 PM
Post; hot thread Re: [fuzzy logic] Building a Cool/New-Like Featured/Priority Page
rascal 3486 Sep 23, 2006, 11:56 PM
Thread; hot thread Re: [jdgamble] Building a Cool/New-Like Featured/Priority Page
courierb 3361 Sep 2, 2007, 10:32 PM
Post; hot thread Re: [courierb] Building a Cool/New-Like Featured/Priority Page
courierb 3410 Sep 3, 2007, 12:36 AM
Post; hot thread Re: [jdgamble] Building a Cool/New-Like Featured/Priority Page
Jobu 12425 Aug 28, 2006, 8:28 PM
Post; hot thread Re: [jdgamble] Building a Cool/New-Like Featured/Priority Page
Jobu 12494 Aug 28, 2006, 7:12 PM
Post; hot thread Re: [jdgamble] Building a Cool/New-Like Featured/Priority Page
Jobu 12460 Aug 28, 2006, 7:06 PM