Results 1 to 3 of 3

Thread: Where to set the number of itens on pagination?

  1. #1
    Senior Member
    Join Date
    Oct 2011
    Posts
    135
    Thanks
    18
    Thanked 8 Times in 8 Posts

    Default Where to set the number of itens on pagination?

    Im wondering, where can i set the pagination to display more page numbers?

    Mine is showing 5 pages before colapse, like this:

    [«Previous] [1] [2] [3] [4] [5] ... [2387] [Next»]

    i would like to have it showing 8 pages before colapse, like this:

    [«Previous] [1] [2] [3] [4] [5] [6] [7] [8] ... [2387] [Next»]


    I couldnt find the right place to set this up.

  2. #2
    Junior Member
    Join Date
    Feb 2012
    Posts
    10
    Thanks
    0
    Thanked 2 Times in 1 Post

    Default

    Quote Originally Posted by frytec View Post
    Im wondering, where can i set the pagination to display more page numbers?

    Mine is showing 5 pages before colapse, like this:

    [«Previous] [1] [2] [3] [4] [5] ... [2387] [Next»]

    i would like to have it showing 8 pages before colapse, like this:

    [«Previous] [1] [2] [3] [4] [5] [6] [7] [8] ... [2387] [Next»]


    I couldnt find the right place to set this up.
    libs\Paginator.php

    Look for this code and change the $after variable:
    Code:
    		$before = 4;
    		$after = 3;

  3. Thanked by:


  4. #3
    Junior Member
    Join Date
    Jun 2011
    Location
    Malaysia
    Posts
    23
    Thanks
    10
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by wolfdogg View Post
    libs\Paginator.php

    Look for this code and change the $after variable:
    Code:
    		$before = 4;
    		$after = 3;
    great info about the paginator..
    im working on a template right now..but got a little problem about pagination..
    hmm..where actually the function call happened..in which php file?

    thx

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Please help ((( - Pagination
    By tonimar in forum How-To and Troubleshooting
    Replies: 5
    Last Post: 12-11-2010, 12:53 AM
  2. Sort by Number of Votes
    By rpermana in forum How-To and Troubleshooting
    Replies: 1
    Last Post: 12-09-2010, 12:05 AM
  3. double content with pagination
    By narc in forum How-To and Troubleshooting
    Replies: 2
    Last Post: 09-22-2010, 09:22 AM
  4. Repeating pagination at top of the page
    By alfbrand in forum How-To and Troubleshooting
    Replies: 2
    Last Post: 03-23-2010, 08:29 PM
  5. [Docs] Using Pagination
    By Nick in forum Design and Layout
    Replies: 0
    Last Post: 01-13-2010, 11:44 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •