PDA

View Full Version : PHPLD 2 RC5.2 links pagination problem


sakuragi
07-29-2006, 11:47 AM
PHPLD Version 2, RC 5.2

I'm having problems with pagination. The links to be displayed has been set to 10 and my page is displaying 10 links, which is correct. However, the link to page 2 and 3 did not come up. I've tried replacing the footer with the original but the problem persist.

Example: Page 1 (http://www.directory.free-business-card-templates.com/Internet/Web_Directories/Paid/) (the footer did not display the link to other pages)

But when i manually enter the url for page 2, the links are displayed correctly but again, without a link to page 3

Example: Page 2 (http://www.directory.free-business-card-templates.com/Internet/Web_Directories/Paid/?p=2) (page 2 is available when i enter the url manually)

Please help as i doesn't want to display too much links in one page. Thank you in advance!

anon
07-29-2006, 12:03 PM
2.0 used a flawed pagination plug-in.

You can try and search the forums for some clues and answers, but nobody here is going to want to mess with mod rewrite and pagination.

if you were on 3.0 that would be a different story.

sakuragi
07-29-2006, 12:03 PM
Please disregard my first post as i've got it working again.

I've accidentally replaced my $tpl->assign('list_total', count($count)); with the statistic mod (require_once 'statistic.php';)

It's now working with the code in the index.php below.
// Paging 4
require_once 'statistic.php';
$tpl->assign('list_total', count($count));
// End Paging 4

anon
07-29-2006, 12:07 PM
:) good job.

just reember though, if you do run into any mod rewrite and pagination probs in 2.0, support is very very limited.