Home › Forums › Calendar Products › Events Calendar PRO › Email Form to Event Organizer?
- This topic has 3 replies, 2 voices, and was last updated 12 years, 3 months ago by
Brook.
-
AuthorPosts
-
January 7, 2014 at 3:02 pm #87975
adam
ParticipantIs there a way to add in a form that emails the event organizer? I have a bunch of events, each of which has a different organizer. I’m using Contact Form 7, but could be persuaded to switch to another form, if it allows me to send the form to the organizer, and maybe put the event name in the subject line…
January 8, 2014 at 11:06 pm #89087Brook
ParticipantHowdy atracksler,
I am not 100% clear on what you want to do. Are you attempting to create a contact form that has a selectable recipient, and the recipient list is autopopulated with event organizers? Or, are you try attempting to automatically notify an event organizer each time an event is added?
Please let me know. Thanks!
– Brook
January 9, 2014 at 3:54 am #89190adam
ParticipantTrying to add in a contact form to the singe event page.
The contact form would send to the event organizer (with the event name in the subject line) when someone had a question about the event. Right now I’m using cformsII:http://nlcgroups.com/event/bible-study-n-8-2-2/2014-01-29/
So when someone fills the form out, it goes to the event organizer.
January 9, 2014 at 11:36 pm #89944Brook
ParticipantAhh I follow you now. Thank you for clarifying.
This would be possible using a custom theme. If you are comfortable with creating you own WP themes, or making large changes to existing ones, you would likely feel comfortable doing this. First of all you would want to familiarize yourself with our themer’s guide if you have not already: https://theeventscalendar.com/support/documentation/events-calendar-themers-guide/
Basically you are creating a custom single event theme. If you would like to stick with CF7 then you would have to manually create a contact form for every event organizer. Using a PHP switch that evaluates tribe_get_organizer_email(), you could serve the relevant contact form with CF7’s shortcode. Obviously manually creating a contact form for each organizer could be a pain. You might be interested in switching to a contact form that lets you specify the recipient from a PHP API, then pass it tribe_get_organizer_email() as the recipient and the_title() as your subject.
Does that all make sense? Will it work for your site? Thanks!
– Brook
-
AuthorPosts
- The topic ‘Email Form to Event Organizer?’ is closed to new replies.
