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.

Orderby Status, or pagination help

March 25, 2013 7:57pm

Subscribe [1]
  • #1 / Mar 25, 2013 7:57pm

    DigitalDesigns

    94 posts

    We have a listing site where we would like to display entries and order them by status. Since we currently cannot orderby=“status” in EE (i.e. First display Featured status, Second display Enhanced status, Third display Normal status) we are currently doing this like this:

    {exp:channel:entries status="Featured " channel="business"}
    content
    {/exp:channel:entries}
    {exp:channel:entries status="Enhanced" channel="business"}
    content
    {/exp:channel:entries}
    {exp:channel:entries status="Normal" channel="business"}
    content
    {/exp:channel:entries}

    Is there a way to limit the total amount of entries that display on the template and paginate through them? Does anyone have any suggestions of how we would go about doing this with a query?

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

ExpressionEngine News!

#eecms, #events, #releases