Admin area: order by most recently published event

Home Forums Calendar Products Events Calendar PRO Admin area: order by most recently published event

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #28610
    webotools
    Participant

    Hi, is there a way when you view the events in the administration area, to have them sorted by which was published most recently? (like the default wordpress posts)?

    #28672
    Barry
    Member

    I don’t believe so, as for most people that wouldn’t really make sense. I’ll check in with the rest of the team though and see if they can think of anything here.

    #28827
    webotools
    Participant

    Barry hi,
    I believe that it would make sense to a lot of people as WordPress users are used to having the posts displayed in that order. Our client complaints that there is no way to let her view the events she has recently published and indeed it is messy when you have hundreds of recurring events.
    Let me know how we could achieve this kind of sorting.
    Thanks in advance.

    #28828
    Barry
    Member

    Hi Webotools, you could drop a snippet like this http://pastebin.com/w96KPaBc into your theme’s functions.php file, that ought to do what you need.

    #28930
    Barry
    Member

    Hi Webotools, do you need any further help with this issue or are we good to close the thread?

    #28973
    webotools
    Participant

    Barry hi,
    Thanks for your help and sorry for the delay in replying, it has been too busy lately! We tried the snippet but it results in giving us blank page in the admin area. We shall look into it again (check if it conflicts with something in our functions.php) and let you know.

    #28975
    Barry
    Member

    A blank page? It could be you’re using an old version of PHP. If so, you might need to refactor it slightly: http://pastebin.com/0RawgErv (not tested, I made those changes on the fly).

    #29029
    webotools
    Participant

    It seems the code is wrong, not only the admin area but the whole site goes blank…

    #29030
    webotools
    Participant

    Barry, ignore the last comment, I had not seen your reply and test the code, I just added the comment to let you know the first code was not working in the front as well.
    However, the new code you sent me seems to work! Thanks a lot! (http://pastebin.com/0RawgErv)

    #29036
    Barry
    Member

    OK, no problem. The first snippet required PHP 5.3+, so my fault for not writing in the earlier style first time round.

    Glad you’re all sorted 🙂

    #978281
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Admin area: order by most recently published event’ is closed to new replies.