Recurring Events Not Saving with my Theme

Home Forums Calendar Products Events Calendar PRO Recurring Events Not Saving with my Theme

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #62597
    akbradley57
    Participant

    I am using the Appthemes “Clipper” theme with your PRO plugin. When I create a recurring event it saves all of the recurring information on that individual record, but when I view “All Events” it says Recurring “No”. When I deactivate the theme it works, so it is obviously a conflict with the theme. Any recommendations? Thanks!

    #62603
    akbradley57
    Participant

    I previously resolved a similar issue here … https://theeventscalendar.com/support/forums/topic/event-date-is-not-working-at-all-with-my-theme/. Could this be related?

    #63083
    Barry
    Member

    Hi akbradley57,

    Sorry for the delay first of all. If I’m understanding you correctly I don’t think that thread is directly related … are you able to share the URL for one of your “all events”?

    Thanks!

    #63116
    akbradley57
    Participant

    Hi there, Yes I dug in a little more this weekend and it is the same issue. If I remove the “datetime” class from the date entry field it works fine. I don’t get the dropdown calendar functionality which is handy, but it’s my own site so I can deal. It’s just not a ideal solution.

    The dropdown calendar date field when entering a new event has a class=”datetime”. If I remove that it saves the record as it should, but I don’t get the pop-up calendar UI functionality. I just have to type in a date.

    I tried going through the code this weekend, but “datetime” is so prevalent in the code that I didn’t want to start rewriting the entire code base. If there was a way to not use “datetime” as a class and use something more unique that would be great??

    I have an Appthemes theme and they refer to their calendar fields as “datetime” also which is where the conflict lies. I have tried rewriting it on their end as well, but again things start breaking and it’s frustrating.

    I am hoping there is an easy recommendation on renaming the “datetime” instances?
    Thanks for your help!

    #63164
    Barry
    Member

    To the best of my knowledge our plugin will not enqueue any of its scripts within the admin screens of other plugins/themes (a litmus test would be if everything works as expected in this regard when working with whichever admin screens your theme provides that also have datepickers).

    If that is so it may be that the theme is enqueuing it’s scripts on all screens, regardless of whether or not it has “ownership” of them – is that a possibility here?

    #63216
    akbradley57
    Participant

    Yes, there is code in the appthemes-functions.php that is looking for a field “datetime” and I think this is causing the problem. When I remove the class=”datetime” from these calendar fields the record saves, I just don’t get the dropdown calendar functionality. I’m also not sure if this is breaking something somewhere else somehow that I haven’t realized yet.

    #63230
    Barry
    Member

    OK, well that does sound like perhaps your theme’s use of Javascript could be a little more selective.

    Since it’s sounding like you’ve got a workaround (and that it may be more appropriate to seek advice from the theme author in this scenario) I will close this thread.

    If there is anything else we can do though definitely open a new thread and we’ll be happy to help!

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Recurring Events Not Saving with my Theme’ is closed to new replies.