Home › Forums › Calendar Products › Community Events › Add another category to the community event submission form
- This topic has 4 replies, 2 voices, and was last updated 11 years, 1 month ago by
Geoff.
-
AuthorPosts
-
March 11, 2015 at 5:34 am #947524
Torsten
ParticipantHey there,
How can I add another category to the community event submission form e.g. below event organizer?
I want to give the organizer of the event the possibility to leave a description about their organisation.THanks for you help!
Cheers,
TorstenMarch 11, 2015 at 9:17 am #947630Geoff
MemberHi there, Torsten! Welcome back to the forums. 🙂
The easiest way to add fields to the Community Events form is with The Events Calendar PRO. The PRO add-on includes a feature that allows you to add custom fields to events, including the Community Events form.
Otherwise, adding a new field would take some custom development. One way might be to use Advanced Custom Fields or Gravity Forms to create the field, then add it to your submission form. However, then you’d need to find a way to capture that information on submission and return the value somewhere in the system.
Does this help answer your question? Please let me know.
Cheers!
GeoffMarch 11, 2015 at 9:18 am #947631Geoff
MemberP.S. I’m going to move this thread from Pre-Sales to Community Events. Same URL, but easier to find. 🙂
March 13, 2015 at 7:51 am #948138Torsten
ParticipantThanks Geoff, for your quick reply.
I have now added the following code to the file “edit-event.php”:<div class=”events-community-post-content”>
<?php tribe_community_events_field_label( ‘post_content’, __(‘Event Description:’, ‘tribe-events-community’) ); ?>
<?php tribe_community_events_form_content(); ?>
</div><!– .tribe-events-community-post-content –><div class=”events-community-post-content”>
<?php tribe_community_events_field_label( ‘post_content’, __(‘description of organizer:’, ‘tribe-events-community’) ); ?>
<?php tribe_community_events_form_title(); ?>
</div><!– .tribe-events-community-post-content –>but now the title will be overwritten 🙁
Guess I need a new field which will only captures the “description of organizer” so something like “<?php tribe_community_events_form_organizer-description(); ?>”
Is there a field I could use for that?
How would the code look like?Thanks for your help again,
TorstenMarch 13, 2015 at 8:05 am #948143Geoff
MemberHello Torsten! Thanks for following up.
That’s a good question, though my recommendation would be to use The Events Calendar PRO, where this functionality is already baked in. If you’d prefer to handle it with your own custom development, I’m afraid I’ll have to leave that in your hands.
I’ll go ahead and close this thread since you now have a couple of solid directions you can take here. Please feel free to start a new thread if any other questions pop up and we’d be happy to help you there. 🙂
Cheers!
Geoff -
AuthorPosts
- The topic ‘Add another category to the community event submission form’ is closed to new replies.
