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
Okay, current page isn't working because there is not input. I guess the fetchrow_hashref is messing with the hits count.

Try changed the lines to this:

Code:

$sth = $tab->select( { isValidated => 'Yes', isNew => 'Yes' } );
my $hits = $tab->hits;
while (my $rec = $sth->fetchrow_hashref) {
$output .= Links::SiteHTML::display('link2', $rec);
}
my $tags;
$tags->{'paging.url'} = $CFG->{db_cgi_url} . "/featured.cgi";
$tags->{'paging.num_hits'} = $hits;
$tags->{'paging.current_page'} = $pageNum;

- Jonathan
Subject Author Views Date
Thread; hot thread Building a Cool/New-Like Featured/Priority Page Jobu 12894 Aug 26, 2006, 11:03 PM
Thread; hot thread Re: [Jobu] Building a Cool/New-Like Featured/Priority Page
jdgamble 12709 Aug 27, 2006, 4:03 PM
Thread; hot thread Re: [jdgamble] Building a Cool/New-Like Featured/Priority Page
Jobu 12623 Aug 27, 2006, 5:31 PM
Thread; hot thread Re: [Jobu] Building a Cool/New-Like Featured/Priority Page
jdgamble 12648 Aug 27, 2006, 8:45 PM
Thread; hot thread Re: [jdgamble] Building a Cool/New-Like Featured/Priority Page
Jobu 12652 Aug 27, 2006, 9:39 PM
Thread; hot thread Re: [Jobu] Building a Cool/New-Like Featured/Priority Page
jdgamble 12598 Aug 28, 2006, 6:50 PM
Thread; hot thread Re: [jdgamble] Building a Cool/New-Like Featured/Priority Page
Jobu 12633 Aug 28, 2006, 7:00 PM
Thread; hot thread Re: [Jobu] Building a Cool/New-Like Featured/Priority Page
jdgamble 12597 Aug 28, 2006, 7:08 PM
Thread; hot thread Re: [jdgamble] Building a Cool/New-Like Featured/Priority Page
Jobu 12676 Aug 28, 2006, 7:11 PM
Thread; hot thread Re: [Jobu] Building a Cool/New-Like Featured/Priority Page
jdgamble 12602 Aug 28, 2006, 7:17 PM
Thread; hot thread Re: [jdgamble] Building a Cool/New-Like Featured/Priority Page
Jobu 12609 Aug 28, 2006, 7:20 PM
Thread; hot thread Re: [Jobu] Building a Cool/New-Like Featured/Priority Page
jdgamble 12727 Aug 28, 2006, 7:36 PM
Thread; hot thread Re: [jdgamble] Building a Cool/New-Like Featured/Priority Page
Jobu 12571 Aug 28, 2006, 8:26 PM
Thread; hot thread Re: [Jobu] Building a Cool/New-Like Featured/Priority Page
jdgamble 12586 Aug 28, 2006, 9:11 PM
Thread; hot thread Re: [jdgamble] Building a Cool/New-Like Featured/Priority Page
Jobu 12574 Aug 28, 2006, 9:42 PM
Thread; hot thread Re: [Jobu] Building a Cool/New-Like Featured/Priority Page
jdgamble 12580 Aug 28, 2006, 11:30 PM
Thread; hot thread Re: [jdgamble] Building a Cool/New-Like Featured/Priority Page
Jobu 12599 Aug 29, 2006, 7:40 AM
Thread; hot thread Re: [Jobu] Building a Cool/New-Like Featured/Priority Page
jdgamble 12533 Aug 29, 2006, 8:54 AM
Post; hot thread Re: [jdgamble] Building a Cool/New-Like Featured/Priority Page
Jobu 12604 Aug 29, 2006, 9:09 AM
Thread; hot thread Re: [Jobu] Building a Cool/New-Like Featured/Priority Page
jdgamble 12589 Aug 29, 2006, 11:57 AM
Thread; hot thread Re: [jdgamble] Building a Cool/New-Like Featured/Priority Page
Jobu 12522 Aug 29, 2006, 12:44 PM
Thread; hot thread Re: [Jobu] Building a Cool/New-Like Featured/Priority Page
jdgamble 12581 Aug 29, 2006, 5:10 PM
Thread; hot thread Re: [jdgamble] Building a Cool/New-Like Featured/Priority Page
fuzzy logic 3590 Aug 29, 2006, 7:22 PM
Thread; hot thread Re: [fuzzy logic] Building a Cool/New-Like Featured/Priority Page
jdgamble 3593 Aug 29, 2006, 7:53 PM
Thread; hot thread Re: [jdgamble] Building a Cool/New-Like Featured/Priority Page
Jobu 3581 Aug 29, 2006, 10:56 PM
Thread; hot thread Re: [Jobu] Building a Cool/New-Like Featured/Priority Page
fuzzy logic 3600 Aug 29, 2006, 11:11 PM
Post; hot thread Re: [fuzzy logic] Building a Cool/New-Like Featured/Priority Page
rascal 3524 Sep 23, 2006, 11:56 PM
Thread; hot thread Re: [jdgamble] Building a Cool/New-Like Featured/Priority Page
courierb 3401 Sep 2, 2007, 10:32 PM
Post; hot thread Re: [courierb] Building a Cool/New-Like Featured/Priority Page
courierb 3449 Sep 3, 2007, 12:36 AM
Post; hot thread Re: [jdgamble] Building a Cool/New-Like Featured/Priority Page
Jobu 12567 Aug 28, 2006, 8:28 PM
Post; hot thread Re: [jdgamble] Building a Cool/New-Like Featured/Priority Page
Jobu 12637 Aug 28, 2006, 7:12 PM
Post; hot thread Re: [jdgamble] Building a Cool/New-Like Featured/Priority Page
Jobu 12602 Aug 28, 2006, 7:06 PM