Home › Forums › Calendar Products › Community Events › How can I remove website and contact info. for venue?
- This topic has 6 replies, 2 voices, and was last updated 11 years ago by
Nico.
-
AuthorPosts
-
June 23, 2015 at 6:40 pm #972436
krystalknapp
ParticipantThe 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.
June 24, 2015 at 7:24 am #972562Nico
MemberHi 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/fcbabceaa768e2879e624. Save the file and test.
Let me know how this goes,
Best,
NicoJune 24, 2015 at 7:29 am #972566krystalknapp
ParticipantThanks Nico. for 2. do you mean take the file you just copied and paste to theme file?
June 24, 2015 at 7:32 am #972570krystalknapp
ParticipantNevermind. I get what you meant now. Thanks. Will try it.
June 29, 2015 at 12:08 pm #973625Nico
MemberGreat! I’ll be waiting for your feedback.
Best,
NicoJune 29, 2015 at 12:14 pm #973627krystalknapp
ParticipantI tried and it didn’t work. I’m hiring someone else to try to fix it.
June 29, 2015 at 2:32 pm #973703Nico
MemberHey 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 -
AuthorPosts
- The topic ‘How can I remove website and contact info. for venue?’ is closed to new replies.
