ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

No Pagination Results

May 30, 2011 8:16pm

Subscribe [2]
  • #1 / May 30, 2011 8:16pm

    Symon Pritchett

    11 posts

    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

    tidy

    196 posts

    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}
.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases