joodb pagenav max 10
- william.kcperformance
- Topic Author
- Offline
Less
More
- Posts: 98
- Thank you received: 2
8 years 9 months ago #3482
by william.kcperformance
joodb pagenav max 10 was created by william.kcperformance
I am using the {joodb pagenav} function on my website but am encountering the following problem:
the navigation shows:
< << 1 2 3 4 ... 6 7 8 9 10 > >>
I have 702 pages, navigation should show: < << 1 2 3 4 5 ... 699 700 701 702 > >>
when clicking the >> button it shows page 10 and the navigation shows:
< << 5 6 7 8 ... 10 11 12 13 14 > >>
when clicking the >> button it shows page 702:
< << 693 694 695 696 697 698 ... 700 701 702 > >>
navigation should show: < << 1 2 3 4 5 ... 699 700 701 702 > >>
This seems to be a joodb pagenav bug, hope someone can come up with a solution for this, my PhP skills are not good enough to fix this issue in pagination.php
the navigation shows:
< << 1 2 3 4 ... 6 7 8 9 10 > >>
I have 702 pages, navigation should show: < << 1 2 3 4 5 ... 699 700 701 702 > >>
when clicking the >> button it shows page 10 and the navigation shows:
< << 5 6 7 8 ... 10 11 12 13 14 > >>
when clicking the >> button it shows page 702:
< << 693 694 695 696 697 698 ... 700 701 702 > >>
navigation should show: < << 1 2 3 4 5 ... 699 700 701 702 > >>
This seems to be a joodb pagenav bug, hope someone can come up with a solution for this, my PhP skills are not good enough to fix this issue in pagination.php
Please Log in to join the conversation.
- Dirk
- Offline
Less
More
- Posts: 1222
- Thank you received: 225
8 years 9 months ago #3489
by Dirk
Replied by Dirk on topic joodb pagenav max 10
Why do you post this in BugReporting? JooDB uses the Joomla Pagination.
You can override the pagination output in your template.
/templates/YOURTEMPLATE/html/pagination.php
But it does not make sens to link to the last pages!
You can override the pagination output in your template.
/templates/YOURTEMPLATE/html/pagination.php
But it does not make sens to link to the last pages!
Please Log in to join the conversation.
- william.kcperformance
- Topic Author
- Offline
Less
More
- Posts: 98
- Thank you received: 2
8 years 9 months ago #3492
by william.kcperformance
Replied by william.kcperformance on topic joodb pagenav max 10
It does give the user an idea of the number of pages, doesn't it?
Anyway, thanks a lot for pointing this out and I apologise for the "false acsusation".
Anyway, thanks a lot for pointing this out and I apologise for the "false acsusation".
Please Log in to join the conversation.
- Dirk
- Offline
Less
More
- Posts: 1222
- Thank you received: 225
8 years 9 months ago #3495
by Dirk
How about {joodb pagecount}
"Page 1 of 3 Results 1 - 5 of 12"
Replied by Dirk on topic joodb pagenav max 10
william.kcperformance wrote: It does give the user an idea of the number of pages, doesn't it?
How about {joodb pagecount}
"Page 1 of 3 Results 1 - 5 of 12"
Please Log in to join the conversation.
Moderators: Dirk, joest