Home › Forums › Calendar Products › Community Events › Populate Fields
- This topic has 8 replies, 2 voices, and was last updated 11 years, 4 months ago by
Geoff.
-
AuthorPosts
-
November 19, 2014 at 2:54 pm #891146
worldgolfskills
Participanthttp://worldgolfskills.com/championship/host-a-qualifier/
Right now, I’m having to provide our event hosts with information on how to properly fill out The Events Calendar form for that particular event. Is there any way that I can auto-populate this information for them? Right now they all tell me it is too difficult, which creates a problem for us.
November 19, 2014 at 5:59 pm #891416Geoff
MemberHi there, Paul! Thanks for getting in touch. 🙂
Good question. There is the option to use default venues and organizers. You can turn this feature on by heading over to Events > Settings > Community and setting the defaults at the bottom of the screen. Be sure to hit “Save Changes” if you set those defaults.
There is also ways of setting default content for the calendar globally by using the settings under Events > Settings > Default Content. These aren’t specific to the Community Events form, but will take hold globally for the core calendar plugin instead.
Those are the best ways to pre-populate the content right out of the box. You may be able to pre-populate other fields, but that would take custom development. If you have ideas for features that would make the form simpler for users, we’d love to hear them on our UserVoice page for consideration in future releases.
Does this help answer your question? Please let me know. 🙂
Cheers!
GeoffNovember 19, 2014 at 6:25 pm #891444worldgolfskills
ParticipantHi Geoff,
Thanks for the quick response. I have set the default organizers and venues, but am still in need of adding some sort of default contact to the forms. I have submitted a request for the pre-population features, but have still not heard anything back as to if those will be developed or not. It would be nice if it was as easy as something like Google has developed for their forms.
https://support.google.com/docs/answer/160000?hl=enSo I guess that leaves me with the custom development. Is there a guide available as to how I might go about doing this?
The only other options I’ve seen available that might potentially work are related to query strings, but I don’t know if that would work in this case or not?
November 20, 2014 at 7:46 am #892135Geoff
MemberHi there, Paul! Thanks for following up. 🙂
Shoot, sorry, there isn’t a tutorial or guide specifically on how to do this, but I can point you to some resources that will help.
The first thing to check out is our Themer’s Guide. This will walk you through how to create overrides of the calendar templates so you can custom them to fit your needs. In this case, I would check out the templates located in /the-events-calendar-community-events/views/community/modules for the specific form sections you want to override. Once in your theme you can edit the fields as you like.
One idea might be to pre-fill the fields with information about your users by running a WordPress function to get the current user, get the information you would like to include, and echo that information directly in the fields. Just a thought.
I hope this helps you get started–good luck!
Cheers!
GeoffNovember 20, 2014 at 10:11 am #892331worldgolfskills
Participanthttp://worldgolfskills.com/championship/host-a-qualifier/registration/
Here’s what I’ve done now to try and compensate for it. I currently have it embedded as an iframe. The only remaining question I have is if it would be possible to hide the Event Title and Event Description portions, as those are both standard for this particular event?
November 20, 2014 at 1:09 pm #892559Geoff
MemberGood question. Yes, you could either remove those modules using template overrides, or by using CSS. For example, something like this:
#tribe-community-events .events-community-post-title, #tribe-community-events .events-community-post-content { display: none; }I hope this helps!
Geoff
November 20, 2014 at 1:57 pm #892630worldgolfskills
ParticipantIt definitely would solve my problem if you could just tell me where I need to go to insert this code!
November 20, 2014 at 2:03 pm #892643Geoff
MemberYou can drop that into your theme’s CSS file. This is often style.css but could vary, depending on your theme.
Cheers!
GeoffDecember 1, 2014 at 9:09 am #903994Geoff
MemberHey there, Paul! It’s been a while so I’m going to go ahead and close this thread. If we can help with anything else, though, please don’t hesitate to open a new thread. We’d be happy to help. 🙂
Cheers!
Geoff -
AuthorPosts
- The topic ‘Populate Fields’ is closed to new replies.
