• Resolved lucycgp

    (@lucycgp)


    Hello all,

    I am trying to find an answer to this but I can’t! The Events Calendar is really really good, and has helped me no end, but one thing is bugging me. How do you make events appear chronologically, so the soonest event at the top? At the moment the events list is showing in the order I posted them which looks all wrong.

    Sorry if I am repeating a question, but I cannot find the answer and have been trying to find it for a couple of hours.

    Thank you to anyone that may be able to help!

    https://www.ads-software.com/extend/plugins/the-events-calendar/

Viewing 15 replies - 31 through 45 (of 50 total)
  • faberk

    (@faberk)

    Hi roblagatta,

    i tested your solution (changing priority level on filter orderby), but without success. Same unordered events list.

    Bye

    aapnootniels

    (@aapnootniels)

    I finally solved the problem:

    in settings > the events calender i found the url slug ‘events”
    so the url for the events calender is for instance https://www.yoursite.com/events

    in appearance > menu at the settings for the menu button that refers to the events calender (in my case “agenda”) is also an url specified, which was a different one. i changed that to https://www.yoursite.com/events, saved it, and problem solved!

    Rob La Gatta

    (@roblagatta)

    Hey guys: bummer to hear that my suggestions so far haven’t done the trick, but it sounds like aapnootniels figured a solution here. Anybody else able to confirm whether they’re still having problems after giving that a go?

    Thanks for sharing, aapnootniels!

    PhilipKirbyJames

    (@philipkirbyjames)

    Hi, I’m running the basic (free) version of The Events Calender.

    I think the solution suggested by aapnootniels may only apply to the paid version. Under settings -> event calender there is no option to set or display the url slug.

    Within ‘appearance -> menus’ the calender’s url is shown as
    https://my-site?post_type=tribe_events
    If I change this to
    https://my-site/events
    I get a “The requested URL /walk/events was not found on this server” error.

    So still a problem ??

    PhilipKirbyJames

    (@philipkirbyjames)

    I’ve tried faberk’s suggestion (i.e. commenting out the
    //if( $cur_query->get( ‘orderby’ ) == ‘event_date’ ) {
    block.

    It works for me!! Thanks faberk

    Rob La Gatta

    (@roblagatta)

    Awesome to hear this did the trick, Phillip. Is anyone else on this thread still having issues, or can I mark it “Resolved” (in the interest of organization)? Will do so if I haven’t heard back over the next few days.

    uwest

    (@uwest)

    Hello Roblagatte, after updating, the problem is still there ;-(. Thanks for checking, uwest

    Rob La Gatta

    (@roblagatta)

    Hey uwest. Thanks for confirming. It sounds like something else is at play if faberk’s solution worked for the other users but not you. Have you already tried the plugin deactivation route, to see if there’s a conflict? As well as using a totally unmodified The Events Calendar codebase to see if the issue persists there too? That’s unfortunately the most I can offer at this point, but happy to try to keep troubleshooting this for you as best I can.

    uwest

    (@uwest)

    Hey Roblagatte, you misunderstood me. Faberk′s solution worked very well before the update. After updating, and overwriting the existing files i got the same problem. It is not solved by the update. I manually fixed the problem (faberk-solution). Thanks uwest

    I just installed Event Calendar 2.0.4 from a clean install of WordPress 3.3.1 and this problem continues to exist.

    On the Event List page, the events are in the order posted, NOT the order of events.
    post_type=tribe_events&eventDisplay=upcoming

    However, the Events List widget seems to display the data just fine.

    Uwest: Thanks for confirming. I think we agreed, I just phrased it wrong ?? My last post was trying to help you troubleshoot with the understanding that the issue persisted.

    Gwally: I assume you’ve already tried the deactivation/reversion to the 2011 theme route? If not, can you give that a go and let me know whether it’s a conflict of some kind? As we’re unable to recreate locally that’s the best suggestion I can offer in the short-term.

    Rob, Currently I am looking for a new event calendar system I can roll out to several theater sites I manage that have the same need.

    To make sure I see how the calendar would work, I did a clean install of WordPress 3.3.1. I chose 2010 as a theme since that matches most of the themes. I then did a clean install of The Events Calendar 2.0.4.

    I then started entering in events into the system when I discovered that the Events List was listing events by posting date, not the performance date. As a courtesy I let this thread know the problem still exists with the current version of the software.

    If there’s a conflict, it’s with WordPress 3.3.1 and the 2010 theme.

    If there’s a solution to fix the problem, could you post it? As a newcomer to The Events Calendar, it was a bit confusing to which fix is the correct one.

    I would be happy to try any fix you suggest. Perhaps it will help your engineers track down the problem and then we all win.

    roblagatta, I tested your temporary and it worked fine:

    In line 35 of /plugins/the-events-calendar/lib/tribe-event-query.class, change:

    add_filter( ‘posts_orderby’, array(__CLASS__, ‘dateOrderBy’), 10, 2);

    to

    add_filter( ‘posts_orderby’, array(__CLASS__, ‘dateOrderBy’), 1, 2);

    I find things work best with Default Events Template, which is set in settings: the event calendar

    I am running:
    WordPress 3.3.1
    The Events Calendar 2.0.4.
    2010 theme

    Hey gwally. Thanks for the confirmation. I suspect this is related to the 2010 theme; starting with Events 2.0 we stopped testing on and supporting the 2010 theme and switched over to 2011 in its stead.

    That being said, if the temporary code worked fine, my guess is the official 2.0.5 code (coming out tomorrow or early next week) should integrate even smoother. No guarantees that everything will be 100% but it should be some relief.

    Hope that helps. If you have any other questions here please do let me know.

    This problem does not appear to be resolved, I am running into the exact same issue on the the events list and within the sidebar widget. The events are not in the correct chrono order. It used to work fine but after resisting the major update I finally went for it and now events are out of order.

    I have tried the “hacks” listed in the forum post with no luck.

    Anyone else have any luck figuring this out?

Viewing 15 replies - 31 through 45 (of 50 total)
  • The topic ‘[Plugin: The Events Calendar] Events list in chronological order’ is closed to new replies.