Home › Forums › Calendar Products › Community Events › Pre-filled fields
- This topic has 7 replies, 2 voices, and was last updated 11 years, 6 months ago by
Brian.
-
AuthorPosts
-
October 4, 2014 at 5:49 am #787282
calumjamesgreen
ParticipantHi this is just a follow on to the pre-filled fields section.
I have one specific question with regards to this, I am looking at when a new user creates an event then the organiser is autopulled through with their details. Is there a simple way that I could do this?
October 6, 2014 at 7:37 am #791334Brian
MemberHi
I can answer your question. I am not sure exactly what you are asking so I am providing information that I think may answer it in one form.
when a new user creates an event then the organiser is autopulled through with their details. Is there a simple way that I could do this?
Are you saying that when a user adds a new organizer that you would like to create an organizer custom post type with that information? That is already the default behavior.
Fill in User Info
Or are you saying you would like to pull in information from the user to fill in as the organizer? I am afraid that is not possible with our current features, but you could customize the template and have it fill in those fields yourself. We can provide some tips on that customization, but for the most part it is beyond the support we can give on the forum. If you think that is something you would like as a feature I encourage you to visit our User Voice Page and either upvote an existing request or make a new request there.Defaults
We also have a default option for the Community Calendar Events on the Community Tab of the Events Settings:“Default organizer for submitted events”
That is the same for all the Community Events Submitted.
Let me know if that answered your question or you would like some more help.
Thanks
October 6, 2014 at 8:01 am #791443calumjamesgreen
ParticipantHi Brian,
Thanks for getting back to me, sorry if I was unclear.
What I meant was where the organiser section is I’m looking at getting rid of it all together but then having the organiser’s details just being auto populated with the wp_users details with the Name, Email address etc.
Wouldn’t happen to know a quick fix for this would you?Thanks
CalumOctober 6, 2014 at 8:29 am #791527Brian
MemberI would say the easiest solution is to run a WordPress function to get the current user to get the information you would like to include in the organizer field and echo that information directly in the fields and then use css to hide the Organizer section.
That way you do not have to recreate the whole process.
You can move the organizer section to your theme for following the themer’s guide and modify it there.
https://theeventscalendar.com/support/documentation/events-calendar-themers-guide/
October 8, 2014 at 8:21 am #796598calumjamesgreen
ParticipantThanks Brian Will have a Look into it now ๐ Thanks ๐
October 8, 2014 at 8:44 am #796640calumjamesgreen
ParticipantSounds like a fairly simple fix looking at it, any chance you could point me to the correct file in the plugin I need to fiddle with? ๐
October 8, 2014 at 12:22 pm #796972Brian
MemberSure, I wouldย start by looking at this file and moving it into your theme:
\the-events-calendar-community-events\views\community\modules\organizer.php
Once in your theme you can edit the fields as you like.
October 24, 2014 at 1:56 pm #833318Brian
MemberSince there is has not been any activity on this thread for over 2 weeks so I am now closing it. Feel free to start a new thread if you have further issues. Thanks! ๐
-
AuthorPosts
- The topic ‘Pre-filled fields’ is closed to new replies.
