Form Customization

Home Forums Calendar Products Community Events Form Customization

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #67041
    Anthony D’Arco
    Participant

    I 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,
    Anthony

    #67057
    Casey
    Participant

    Anthony – 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!

    #67080
    Anthony D’Arco
    Participant

    I 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.

    #67332
    Casey
    Participant

    Anthony,
    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!

    #68447
    Anthony D’Arco
    Participant

    Casey,

    Sorry, I was on vacation. That sounds great.

    Thank you,
    Anthony

    #68534
    Casey
    Participant

    Anthony,
    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!

    #68949
    Casey
    Participant

    Anthony,
    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!

    #70626
    Anthony D’Arco
    Participant

    Worked perfectly!

    Thank you,
    Anthony

    #70628
    Casey
    Participant

    Awesome! 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.

    #981406
    Support Droid
    Keymaster

    This 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.

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Form Customization’ is closed to new replies.