Pager questions [message #34434] |
Sun, 29 October 2006 01:03 |
willy
Messages: 24 Registered: March 2005
Karma: 0
|
Junior Member |
|
|
Hello,
I like to implement first page and last page link in pager (i have forums with over 200 pages.. and users if not select page 200 in quick link difficult to switch last page or in last page cannot jump back to first page).
Please suggest me a painless method to implemmet this in fudforum.
Thanks!
|
|
|
Re: Pager questions [message #34497 is a reply to message #34434] |
Sun, 05 November 2006 17:30 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
You can look inside the common pager function called tmpl_create_pager() inside draw_pager.inc.t. This function gets the total number of pages available so you can just populate a drop down with them. Although the forum already offers a first/last page links.
FUDforum Core Developer
|
|
|
|
Re: Pager questions [message #34590 is a reply to message #34579] |
Wed, 08 November 2006 17:24 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
The first and last pages are the ones with << and >>
FUDforum Core Developer
|
|
|
|
Re: Pager questions [message #34608 is a reply to message #34599] |
Thu, 09 November 2006 17:14 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
The past page # would be found inside the $end variable, so to make the "true last page" rather then another set of pages link you'd simply need to add a pager link with $end being the value or to modify existing >> link to use $end.
FUDforum Core Developer
|
|
|