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.

Changing sort order for expired posts

December 16, 2010 11:57am

Subscribe [0]
  • #1 / Dec 16, 2010 11:57am

    StudioAAD

    1 posts

    Hi all, I’ve a small problem (I hope), I’m looking to move all expired entries to the bottom of my list of entries once they expire. The channel is running a series of events in a number of categories for a cultural event and I am looking to have events that have expired to move to the bottom of the list dynamically.

    I’ve been using a small piece of code posted by Mark Bowen (thanks Mark!) that has been successful for changing certain elements but can’t get it to move the entry to the bottom of the list.

    I’ve posted the code below that is running as an

    {if:else} at present

    not sure if that matters.

    Code in question is here:

    
    
    

    Thanks,

    Paddy

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

ExpressionEngine News!

#eecms, #events, #releases