Is there a tag that I can check for if no pagination results are returned with the native EE pagination module
I need this because if there are no pagination results returned, I want to output some html text.
:O)
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
May 30, 2011 8:16pm
Subscribe [2]#1 / May 30, 2011 8:16pm
Is there a tag that I can check for if no pagination results are returned with the native EE pagination module
I need this because if there are no pagination results returned, I want to output some html text.
:O)
#2 / Jun 08, 2011 9:03am
You could try using the following code:
{paginate}
{if total_pages == 1} only one page, so no paging message goes here{/if}
{if total_pages != 1} {!-- pagination goes here --}{/if}
{/paginate}