I would really appreciate it if somebody could help me out.
I've built a page that pulls row from a sql db. Now I need to paginate the page as there are too many rows for one page. I've followed the instructions as far as I can, changing only a few things, such as the sql queries. The php is now limiting the number of rows to the correct perpage number. I've added the pagenav code to my custom template, but no matter what I do, the pagenav doesn't show. Any help would be greatly appreciated. S1OPP |
Quote:
|
^^What he said :)
Quote:
|
no problem.
sightings.php PHP Code:
PHP Code:
|
Worked it out now,
thanks. |
Sorry, didn't come around to look at your code - but you working it out yourself is much better anyway :)
|
Dont forget to use the & like this when passing additional attributes. :)
PHP Code:
This one seems to work at first but it does not when using the page number input: PHP Code:
|
As of VB 4.0.3, I now have errors with page pagination on custom mods...
Example: http://test.8wayrun.com/media/c9-kogarasumaru With VB 4.0.2, it looked fine, but now the last 3 elements are shifted. |
Only happens in Chrome... only with vb4.0.3
https://vborg.vbsupport.ru/attachmen...hmentid=116129 This is code... Code:
<vb:if condition="$pagenav"> |
Just wanted to say thank you for this article on pagination, I was finally able to understand it thanks to your post. Here is my example for those who are still trying to understand maybe this helps.
PHP Code:
|
All times are GMT. The time now is 11:52 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|