Forum Replies Created
-
AuthorPosts
-
akbradley57
ParticipantI created a blank site and started from scratch and it seems to be playing nice so far. I’m not sure what got messed up along the way. Thanks for your help!
akbradley57
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.
akbradley57
ParticipantThis reply is private.
akbradley57
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!akbradley57
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?
akbradley57
ParticipantThanks for your help! Sorry, I was away. I couldn’t get it to work the way I had wanted so I went down a different path.
akbradley57
ParticipantI put your exact code into the Global Content Block and added it to my page and I cannot get this to work. I tried putting different IDs in there as well and nothing was showing up. I guess I need to explore a different solution. Thanks for your help.
akbradley57
ParticipantThank you!! I will try that!
akbradley57
ParticipantCan you provide an example of how you did this? I am trying to add this to my site without any luck. Thanks!
akbradley57
ParticipantI just figured it out!! The theme has a class “datepicker” that is the same name as the plugin was using. I just changed the name and it works fine now. Thanks for your responses I really appreciate it!!
akbradley57
ParticipantAnd when I click “View Event” in my WP Edit page it says “01/01/1970 @ 12:00 am” there???
akbradley57
ParticipantThanks! I checked and it was set to “August 8, 2013”. I changed it to “8/8/13” (m/d/y) and then created a new event. I selected 8/10/2013 from the calendar picker and then published my event. On page refresh the date was again empty and when I viewed the calendar on my site the event was showing up on 10/8/2013.
-
AuthorPosts
