How to display Events Feed by date of event, not published date?

Home Forums Calendar Products Events Calendar PRO How to display Events Feed by date of event, not published date?

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1094962
    Abraham
    Participant

    Our main Events page feed works like this! It’s perfect. The next event that’s closest to today’s Date is displayed first.
    Here is the working page: http://ocws.staging.tepia.co/events/

    HOWEVER – the feed on the homepage, which uses the Visual Composer widget, sorts by date published – yuck! Secondly, on the events page, when you select a date preset (like March 1), it delivers the feed by date published. How do we keep all feeds sorting by date of event, not date published?

    Here is the homepage with the wrong order under EVENTS: http://ocws.staging.tepia.co/
    Here is the working events page that displays incorrect order after you change the date selector to March 1: http://ocws.staging.tepia.co/events/

    Thanks!

    #1094970
    Abraham
    Participant

    Also, when you select a date from the date filter, it removes the list type filter until you click the search button again (which is not ideal since we’re using the AJAX/javascript anyways, so when they select a date, it should load it properly).

    This is a separate but similar issue. For details on this one, check this screenshot: http://screencast.com/t/YWsnL3SCWH5y

    #1095226
    George
    Participant

    I’m sorry to hear about these issues!

    Before diving too deeply into them, the first thing I noticed is that your system information shows your site as running version 4.0.3 of Events Calendar Pro. This is outdated and the current version is 4.1.

    If you update your site’s version of Events Calendar Pro to 4.1, is any progress made with any of the issues you describe here?

    Thank you!
    George

    #1097292
    Abraham
    Participant

    I’ve cloned our WP instance, updated the software to the latest version. Still having all issues above.
    Here is the link to the updated site: http://ocws2.staging.tepia.co/events/

    Still having sorting issues.
    Still having issues after selecting a date without clicking FIND button.

    It did, however fix the mobile bugs, but that’s not what this ticket was about. Thanks for the help!
    Let me know how I can fix the ordering and the date selection.

    #1097875
    George
    Participant

    Hey Abraham,

    Thank you for updating things and for the follow-up. I’m glad some progress has been made here. In regards to your other issues, I would like to first address the Visual Composer widget ordering issue—this is an issue best brought to the Visual Composer support folks themselves, as the issue with the Visual Composer widget ordering things. We don’t make that widget so unfortunately cannot speak to what it’s doing in terms of ordering things.


    As for the incorrect ordering of things in your events view when you filter by date, I cannot recreate this on my own site, and this sort of issue is most often the result of a conflict on your site arising from your theme and/or another plugin.

    To test for that, I would recommend doing ALL of the steps here → https://theeventscalendar.com/knowledgebase/testing-for-conflicts/

    After EACH STEP in that process, go back to your main events view and filter by date. Does the same behavior persist? Or do events order properly anywhere along the way?

    Thank you,
    George

    #1098138
    Abraham
    Participant

    It appears to be sorting by date okay.

    But once you change to another filter date, it sorts all events by the date the event was published. The very first events ever are at the bottom of the list. Any event you add now is at the top. Even if the event we made last year is happening tomorrow, it will show up at the end of the list. Even if we make an event now that happens at the end of next year, it will still show at the top of the list. How can we sort by date of event, not date published?

    For the filtering bugs:
    Those two bugs were fixed when I switched to Twenty Fifteen theme. They didn’t go away when I disabled all plugins, but they did go away when I changed the theme. It was still ordering events by date published, but the filtering issues went away. I’m assuming this tells us that some javascript from the theme we’re using is conflicting? How do we find out what’s making it clash?

    • This reply was modified 10 years ago by Abraham.
    #1098147
    Abraham
    Participant

    Another bug the client found:
    Go to Events page: http://ocws2.staging.tepia.co/events/
    Click Next Events. It should load events after July 2016.
    Instead, it loads April 30th at this URL: http://ocws.staging.tepia.co/events/list/?tribe_paged=2&tribe_event_display=list

    When you remove the &tribe_event_display=list query, it works fine:
    http://ocws.staging.tepia.co/events/list/?tribe_paged=2

    Maybe these URL queries are causing issues?

    #1098174
    Abraham
    Participant

    Thank you for your patience and help.
    Discovered that there were files in this theme that were meant to customize an imitation bundled plugin called “The Events Maker”. Not sure if it’s a variation of your plugin or a ripoff, but it came with the template and was conflicting with the updated pro plugin. Removing these files fixed all bugs mentioned above.

    As for the Visual Composer item. It was a customized version of the bundled plugin that appears to be deprecated. I am using another visual composer widget to create a feed of the custom post type.

    Thank you!

    #1098565
    George
    Participant

    Glad to hear about this resolution—I will close this thread for now, and wish you the best of luck with your project.

    Cheers!
    George

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘How to display Events Feed by date of event, not published date?’ is closed to new replies.