I'm working on an idea, and I was willing to know if it's possible to get this data without modifiying more than the templates.
Now, when you want to show pagination links on your template, you simply need to do something like:
Code: Select all
<div class="pagination"><?php echo $pagination; ?></div>
a) The pagination data (total pages, current page, items per page)
b) Just the urls for the next/previous pages.
It's something I can get without overriding anything outside the templates?