I’m working on a pagination and I want it to show up only when needed.
( so only when the # entries exceeds the limit I specified )
for this I’m using:
{paginate}
{if {total_pages} > 1}
<div id="pagination">
{if previous_page}
<a href="http://{auto_path}">Previous Page</a>
{/if}
|
{if next_page}
<a href="http://{auto_path}">Next Page</a>
{/if}
</div>
{/if}
{/paginate}this works, but not on the category pages. ( where I only show the entries posted in a specific category )
I think this is because the {total_pages} tag counts the pages for ALL the entries, not only those within a certain category when specified ( which would make more sense in my opinion )
any ideas ?