This code will call the toolbar block, pass your collection (previously created) and display the pagination links. It will correctly page through your collection.
$toolbar = $this->getLayout()->createBlock('catalog/product_list_toolbar', microtime());
$toolbar->setCollection($yourCollection);
echo $toolbar->toHtml();
Original Source: Snippi.net by jonpday

Comments (6)
Did not work for me !!!!!!
—
Nice snippet!
How I can load the toolbar with the pager ?
Thanks,
Adrian
—
Hi Moeed,
Can you provide more details about the problem that you are having ?
—
Do you have any ideea why is not showing the pager in the toolbar?
—
@Adrian Pironescu,
If you want I can take a look at your code. Please include your phtml and current magento version in an email to info [at] allanmacgregor.com
—