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.

Pagination clarification...

November 21, 2007 12:57am

Subscribe [1]
  • #1 / Nov 21, 2007 12:57am

    nimzie

    45 posts

    OK.. one of my weblogs has a boatload of entries in it. It’s got a bunch of categories as well.
    However, the main page shows all of the articles for all of the groups.

    I could limit it to 10 entries to show, however I would like to paginate things.

    I have used :

    {if "{total_pages}" != 1}Page {current_page} of {total_pages} pages {pagination_links}{/if}

    It sits within:

    {exp:weblog:entries weblog="{segment_2}" paginate="both" orderby="date" sort="desc" paginate_type="field" }

    Which shows me nothing .. So I got to the bottom of it and EE thinks it should just be one page.

    You can see an example of what I am talking about @

    http://seejeffrun.ca/eengine/index.php/oldcreel/products/

    That is a very long page..

    How do I tell EE to give me say 5 articles then paginate?

  • #2 / Nov 21, 2007 1:00am

    nimzie

    45 posts

    grr.. I love EE .. 12.42 seconds and another read and I got it.. I was missing my limit tag >.. answered my own question while rereading things…

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases