Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Pagination - Only first 5 pages appear as links - How to increase
 
hilbert54
Jr. Member
 
Total Posts:  29
Joined:  2009-05-04
 

In the toolbar on category pages the pagination numbers initially only go up to 5.

Higher numbers only appear gradually as you click the page links.

I would like all available pages to be to be displayed at all times.

So if there are 10 pages in a given category I would like pagination to display all numbers 1 to 10.

I’ve looked in admin, templates, layout and even the MAGE.

 
Magento Community Magento Community
Magento Community
Magento Community
 
furnitureforyoultd
Enthusiast
 
Total Posts:  833
Joined:  2009-03-09
 

app\code\core\Mage\Page\Block\Html\Pager.php

Find this line: protected $_displayPages = 5;

replace 5 with the amount of pages you want

 
Magento Community Magento Community
Magento Community
Magento Community
 
hilbert54
Jr. Member
 
Total Posts:  29
Joined:  2009-05-04
 

Thanks for that, it was really well hidden.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top