Home › Forums › Calendar Products › Events Calendar PRO › Recurring Events Not Saving with my Theme
- This topic has 6 replies, 2 voices, and was last updated 12 years, 7 months ago by
Barry.
-
AuthorPosts
-
August 23, 2013 at 8:47 am #62597
akbradley57
ParticipantI 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!
August 23, 2013 at 9:24 am #62603akbradley57
ParticipantI 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?
August 27, 2013 at 11:31 am #63083Barry
MemberHi 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!
August 27, 2013 at 1:45 pm #63116akbradley57
ParticipantHi 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!August 27, 2013 at 4:13 pm #63164Barry
MemberTo 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?
August 27, 2013 at 5:59 pm #63216akbradley57
ParticipantYes, 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.
August 27, 2013 at 7:29 pm #63230Barry
MemberOK, 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!
-
AuthorPosts
- The topic ‘Recurring Events Not Saving with my Theme’ is closed to new replies.
