Home › Forums › Calendar Products › Community Events › Editing saved Organizers and Venues on Submit an Event form
- This topic has 3 replies, 2 voices, and was last updated 10 years, 9 months ago by
George.
-
AuthorPosts
-
July 7, 2015 at 9:13 am #984478
sean
ParticipantWe’re going to edit the Saved Organizers and Saved Venues dropdowns so that our users can see all of the data/fields after selected one from the saved list. (original topic here)
We want to give the author of the respective Organizer/Venue the ability to edit the data while on the Submit an Event form (other users would be able to see the fields but they would be grayed out). Would allowing the author to change the data of a Saved Organizer or Venue from the Submit an Event form cause any issues? Specifically, when submitting a new event or updating an existing event, if a saved Organizer/Venue’s data is changed on the Submit an Event form, would it be properly updated in the database? We just don’t want to hire a developer if it wouldn’t be a stable solution given the architecture of the core TEC.
July 8, 2015 at 12:48 pm #984872George
ParticipantHey Sean,
Thanks for boiling down your question to its essence, which seems to be as follows:
Would allowing the author to change the data of a Saved Organizer or Venue from the Submit an Event form cause any issues? Specifically, when submitting a new event or updating an existing event, if a saved Organizer/Venue’s data is changed on the Submit an Event form, would it be properly updated in the database?
If the developer you hire implements this functionality correctly, there should not be a problem here. Basically, if the Organizer and Venue are updated via something like AJAX, the developer can make the other links on the page (like “Submit Event”, etc.) un-clickable while the AJAX runs.
This way, you can ensure that the data is saved first before other actions like saving the event can be performed on the page.
Doing stuff like this is quite standard when make AJAX or just general front-end submission/editing features. Once the Venue and/or Organizer data is saved properly, then updating event(s) related to it will not affect that data unless there is code that explicitly modifies it – there isn’t, by default, so it would have be consciously added by the developer or yourself. That doesn’t sound like your plan 🙂 So as long as the AJAX front-end editing saves the stuff correctly, and perhaps has good features that prevent other links from being clickable on the page while it runs, you should be good to go.
I hope that helps!
Cheers,
GeorgeJuly 8, 2015 at 1:04 pm #984880sean
ParticipantHi George,
Perfect, thank you very much! Appreciate the details and explanation. Happy to hear that it should be a fairly straightforward customization for whoever we hire.
Regards,
SeanJuly 9, 2015 at 9:22 am #985113George
ParticipantGlad to help! I’ll close up this ticket for now, but if other questions or concerns arise open a new thread any time.
Cheers,
George -
AuthorPosts
- The topic ‘Editing saved Organizers and Venues on Submit an Event form’ is closed to new replies.
