How can I remove website and contact info. for venue?

Home Forums Calendar Products Community Events How can I remove website and contact info. for venue?

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #972436
    krystalknapp
    Participant

    The community events submission fields default settings include fields for the website and phone no. in the venue section, which is bad because then the website for a particular organizer is attached to a venue used by many groups. How can I delete these venue fields? Not sure why there are there in the first place when website and phone are also fields for the organizer. Rarely is a venue used by one group and it doesn’t make sense to have the fields there. I have searched forums, etc. and can’t find how to remove them. Thanks.

    #972562
    Nico
    Member

    Hi krystalknapp,

    Thanks for reaching out to us! Sorry to hear default fields are not working for you, they are designed to fit a wide variety of needs so they often need to be customized. Hopefully the process to do so is quite simple.

    Basically you’ll need to override the event submission form and comment those fields out – I’ll outline the steps here but please check our Themer’s Guide for further details on template overrides.

    1. Copy the file ‘venue.php’ from ‘wp-content/plugins/the-events-calendar-community-events/src/views/community/modules/’ to ‘wp-content/themes/your_theme/tribe-events/community/modules/’ (create the ‘tribe-events/community/modules/’ folders if necessary).
    2. Open the file you just copied over to your theme folder.
    3. Comment out lines 167-187 of the file. That block should look like this:
    https://gist.github.com/niconerd/fcbabceaa768e2879e62

    4. Save the file and test.

    Let me know how this goes,
    Best,
    Nico

    #972566
    krystalknapp
    Participant

    Thanks Nico. for 2. do you mean take the file you just copied and paste to theme file?

    #972570
    krystalknapp
    Participant

    Nevermind. I get what you meant now. Thanks. Will try it.

    #973625
    Nico
    Member

    Great! I’ll be waiting for your feedback.

    Best,
    Nico

    #973627
    krystalknapp
    Participant

    I tried and it didn’t work. I’m hiring someone else to try to fix it.

    #973703
    Nico
    Member

    Hey krystalknapp,

    Sorry to hear that didn’t work 🙁 Hope the person you hire can get it done 🙂

    I’m going to close this topic – but please don’t hesitate to create new topics if you need help with anything else.

    Best,
    Nico

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘How can I remove website and contact info. for venue?’ is closed to new replies.