0
Welcome Guest! Login
0 items Join Now

Increase dispayed number of pages

  • Increase dispayed number of pages

    Posted 15 years 4 months ago
    • Please one little more help. On the pagination, it shows:

      START PREV 1 2 3 4 5 6 7 8 9 10 NEXT END
      Page 1 of 50



      Is there a way I can increase the 10 page limit to 20? Thus becoming:

      START PREV 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 NEXT END
    • JEM's Avatar
    • JEM
    • Preeminent Rocketeer
    • Posts: 17917
    • Thanks: 4

    Re: Increase dispayed number of pages

    Posted 15 years 4 months ago
    • In the Menu Manager for the Category List Layout or Section List Layout, choose a higher value for "# Links" the default is "10", just choose "20".
    • Thanks,
      jim
  • Re: Increase dispayed number of pages

    Posted 15 years 4 months ago
    • Thanks for your quick response but I cant find Category Layout under Menu Manager. Can you point it out for me. Thanks
    • JEM's Avatar
    • JEM
    • Preeminent Rocketeer
    • Posts: 17917
    • Thanks: 4

    Re: Increase dispayed number of pages

    Posted 15 years 4 months ago
    • Find the Menu that displays your Articles....

      Menu Manager > Main Menu > Menu Items
    • Thanks,
      jim
  • Re: Increase dispayed number of pages

    Posted 15 years 4 months ago
    • I did that but it didnt work. Rather it made the links 20. Looking at the screenshot, when i increased the links, it increased section A in the screenshot.

      However, I am talking about how to increase section B from 10 to 20.
    • Ben Lee's Avatar
    • Ben Lee
    • Elite Rocketeer
    • Posts: 4193
    • Thanks: 42

    Re: Increase dispayed number of pages

    Posted 15 years 4 months ago
    • I think this is going to require a core code hack as I'm not sure if it can be done in an override. Can you post a link to your site so I can check it out?
  • Re: Increase dispayed number of pages

    Posted 15 years 4 months ago
  • Re: Increase dispayed number of pages

    Posted 15 years 3 months ago
    • Any hopes you will do this for a fee Ben Lee?
    • Ben Lee's Avatar
    • Ben Lee
    • Elite Rocketeer
    • Posts: 4193
    • Thanks: 42

    Re: Increase dispayed number of pages

    Posted 15 years 3 months ago
    • Sorry for the delay. This wasn't the easiest bit of code to find. Please remember this is changing the core code of Joomla, so if you update to a newer version, you'll need to check and see if this file is being overridden, and if it is, make the change to the new file.

      Check in /libraries/joomla/html/pagination.php and at line 96 you'll see this:
      $displayedPages = 10;

      That should be the page limit that shows on the page you linked to.

Time to create page: 0.073 seconds