Home › Forums › Calendar Products › Events Calendar PRO › Admin area: order by most recently published event
- This topic has 10 replies, 3 voices, and was last updated 10 years, 9 months ago by
Support Droid.
-
AuthorPosts
-
November 28, 2012 at 6:36 am #28610
webotools
ParticipantHi, 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)?
November 29, 2012 at 6:37 am #28672Barry
MemberI 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.
December 3, 2012 at 2:28 am #28827webotools
ParticipantBarry 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.December 3, 2012 at 4:01 am #28828Barry
MemberHi 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.
December 4, 2012 at 12:45 pm #28930Barry
MemberHi Webotools, do you need any further help with this issue or are we good to close the thread?
December 5, 2012 at 8:02 am #28973webotools
ParticipantBarry 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.December 5, 2012 at 8:20 am #28975Barry
MemberA 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).
December 6, 2012 at 12:52 am #29029webotools
ParticipantIt seems the code is wrong, not only the admin area but the whole site goes blank…
December 6, 2012 at 1:03 am #29030webotools
ParticipantBarry, 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)December 6, 2012 at 6:15 am #29036Barry
MemberOK, 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 🙂
July 7, 2015 at 6:26 am #978281Support Droid
KeymasterThis 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. -
AuthorPosts
- The topic ‘Admin area: order by most recently published event’ is closed to new replies.
