Home › Forums › Calendar Products › Community Events › Event Category and Website Reset when User Edits Event
- This topic has 4 replies, 2 voices, and was last updated 9 years, 11 months ago by
George.
-
AuthorPosts
-
May 17, 2016 at 8:38 am #1115369
Ryan
ParticipantWe are using Community Events to allow submission of events and when a user who has submitted an events edits that event (using the ‘edit event’ link on their list of submitted events) the categories are all un-checked and the website field is blank. They can re-enter the information and it saves…but if a user goes in to edit some content in the body, they may not think to check the website and categories, thus they are gone.
Here is a link to the page (although you’d need to register a dummy account to view it since it is only open to registered user) :
https://pondhole.com/events/community/add
We do have a heavily customized version of the event submission form, so maybe one of the updates caused this. I looked at the newer version of the specific files for the website and taxonomy fields withing Community Events compared to my customized version, and there is no difference other than some arbitrary text and classes I added.
Thanks!
Matt
May 17, 2016 at 11:20 am #1115511George
ParticipantHey Ryan,
Thanks for reaching out!
I cannot recreate any of this behavior on the most recent versions of our plugins, so unfortunately I think your customizations are the main issue as you suggest here:
We do have a heavily customized version of the event submission form, so maybe one of the updates caused this.
If possible, I would recommend deactivating EVERY PLUGIN except JUST these two plugins:
• The Events Calendar
• The Events Calendar: Community Events☝️Once in this state, be sure to first back up all customizations and then remove ALL customizations. Be sure that not a single other plugin—even other “The Events Calendar” add-ons/snippets/etc.—is active.
In this state, how do things behave?
Thanks!
GeorgeMay 17, 2016 at 12:30 pm #1115563Ryan
ParticipantHey George,
I pushed the site into a staging environment and have only those two plugins running on a generic twentysixteen theme (http://pondhole.staging.wpengine.com/) and although the categories are “un-checked” when I edit the event, when I save it the categories are still showing on the front end, so no big deal there. The URL is staying as it should, so there is a problem in a customization somewhere.
I’ll continue to troubleshoot and update soon.
Thanks,
Matt
May 17, 2016 at 1:05 pm #1115598Ryan
ParticipantHey George,
I did end up finding the issue. In the website.php file in the community events plugin I had put a value=”http://” instead of placeholder=”http://” so each time the edit form came up, it was putting the http:// instead of the value saved in the DB…so when the re-saved after editing it was overwriting the old URL with the http:// value.
All good now.
Categories do remain intact, although when editing the current selected categories do NOT show as checked off. I was able to replicate that on the twentysixteen install with just the two plugins activated. So that is a small bug.
Cheers,
Matt
May 18, 2016 at 12:39 pm #1116084George
ParticipantThanks for sharing your progress! I’m glad things are resolved for the most part here.
In regards to that additional small bug, that is something we can definitely ticket and get fixed in an upcoming release. I will investigate that; make a development ticket if I find what you describe; and we can hopefully patch that up in a maintenance release down the line.
Thanks for sharing that. Best of luck with your project!
George -
AuthorPosts
- The topic ‘Event Category and Website Reset when User Edits Event’ is closed to new replies.
