Home › Forums › Calendar Products › Community Events › Form Customization
- This topic has 9 replies, 3 voices, and was last updated 10 years, 9 months ago by
Support Droid.
-
AuthorPosts
-
September 20, 2013 at 11:37 am #67041
Anthony D’Arco
ParticipantI am working on customizing the form, and description is required, how do I make it NOT required. Otherwise I was able to handle all the other customizations.
Thank you,
AnthonySeptember 20, 2013 at 12:44 pm #67057Casey
ParticipantAnthony – I’m sorry but this is currently not possible without significantly modifying the plugin. If this is a feature you’d like to see added to a future release, please let us know on our UserVoice page here: http://tribe.uservoice.com/
Thanks!
September 20, 2013 at 2:36 pm #67080Anthony D’Arco
ParticipantI will do that, but I actually NEED this. I am comfortable changing plugin files. just let me know which file I need to be in.
September 23, 2013 at 1:39 pm #67332Casey
ParticipantAnthony,
I hear Rob informed you of the new release, so while i can help you now, it’s all going to change when you update later this week. Do you feel comfortable waiting for the new release, at which point I can give you the instructions you’ll need for the new version?Just let me know. Thanks!
September 30, 2013 at 3:45 pm #68447Anthony D’Arco
ParticipantCasey,
Sorry, I was on vacation. That sounds great.
Thank you,
AnthonyOctober 1, 2013 at 7:54 am #68534Casey
ParticipantAnthony,
We just released a new version of Community, so go ahead and update your plugins. I’ll reach out to one of our developers to see if what you’re wanting is possible in the new version. Please stand by. Thanks!October 3, 2013 at 5:17 am #68949Casey
ParticipantAnthony,
These instructions should get you pointed in the right direction to making the description field optional (Warning: this includes making modifications to the plugin, which we don’t recommend. After making these changes, any updates to plugin will overwrite your modifications):1. You would need to change edit-event.php, line 43, so it doesn’t display an error
2. You would need to hack tribe-community-events.class.php, in the TribeCommunityEvents::doEventForm() function. Remove the “!empty( $_POST[ ‘post_content’ ] )” from the if clause it checks before saving the event
3. Later in the same function, remove the “empty( $_POST[ ‘post_content’ ] )” in the if clause around the error messages
Hope that helps. Good luck!
October 11, 2013 at 1:44 pm #70626Anthony D’Arco
ParticipantWorked perfectly!
Thank you,
AnthonyOctober 11, 2013 at 1:46 pm #70628Casey
ParticipantAwesome! Since it sound like this got you sorted, I’m going to mark this thread “Answered” and close it out.
We really appreciate your support and please let us know if you need anything else in the future. If you find yourself with a few minutes and would be so kind as to give us a “Works” rating or a positive star voting on the WordPress.org repo (http://wordpress.org/extend/plugins/the-events-calendar/), or even a shoutout to your followers on Facebook or Twitter, it would mean a lot to us. Thanks again for using the plugin.
July 7, 2015 at 6:29 am #981406Support Droid
KeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘Form Customization’ is closed to new replies.
