tags:

views:

17

answers:

1

Hello everyone,

I'm trying to display the # of pages on the category list page. Something like this:

<?= Mage::getSingleton('page/html_pager')->getCollection()->getSize()->getLastPageNum(); ?>

Can anyone help me out?

+1  A: 

Looks like Magento uses this:

$this->getCollection()->getLastPageNumber();
Joseph Mastey