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 correct order of pipes on entry_id

November 05, 2010 3:20pm

Subscribe [3]
  • #1 / Nov 05, 2010 3:20pm

    ummedia

    466 posts

    How do I order by pipe in entry_id

    At the moment I have entry_id=“2265|453|1721|1501|40|435” but when I use this without any orderby or sort I cant get it to show in this order, its important as its the list of most recent items from a cookie. What command can I use to do this? Is it possible.

    many thanks

    Adam

  • #2 / Nov 06, 2010 4:31pm

    Greg Salt

    3988 posts

    Hi Adam,

    Please have a look at the fixed_order parameter.

    Cheers

    Greg

  • #3 / Nov 07, 2010 5:08am

    ummedia

    466 posts

    Thanks Greg thats exactly what I needed

    Adam

  • #4 / Nov 08, 2010 3:39am

    John Henry Donovan

    12339 posts

    Glad you are up and running again. Feel free to start a new thread if you have any more questions.

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

ExpressionEngine News!

#eecms, #events, #releases