Home › Forums › Calendar Products › Community Events › Removing "Use New Venue" in Dropdown
- This topic has 5 replies, 2 voices, and was last updated 11 years, 11 months ago by
Casey.
-
AuthorPosts
-
May 15, 2014 at 10:59 pm #163125
astcit
ParticipantHey Again!
Was wondering whats the best way to remove the option of “Use New Venue” from the drop down selection for venues?
Ive looked through https://theeventscalendar.com/support/forums/topic/removing-saved-venue-and-saved-organizer-dropdowns/ and https://theeventscalendar.com/support/forums/topic/removing-saved-venue-organizer-from-community/ but the only seem to completely remove the fields within the “submit an event” form,
i just want it to make the default selection the first venue in the list. is this possible?May 15, 2014 at 11:01 pm #163128astcit
Participanti also want to be able to remove the Show Google Maps Link check box.
but every time i seem to edit it out of the venue.php file, it doesnt seem to remove it.
[[<input type=”checkbox” id=”EventShowMap” name=”EventShowMap” value=”1″ <?php checked( tribe_embed_google_map( $event ) ); ?> />]]May 17, 2014 at 7:08 am #164473Casey
Participantastcit,
Thanks for getting in touch! Unfortunately, there’s no easy way to remove that option without having other issues crop up. There is JavaScript in the plugin that controls showing/hiding the Venue fields that would break if you were to remove the ‘Use New Venue’ option.If this is something you’d like to see in a future release, I would suggest submitting it as an idea on our UserVoice page. Our team periodically reviews the most popular ideas for possible inclusion in a future release of the plugin.
Regarding your second question:
i also want to be able to remove the Show Google Maps Link check box.
but every time i seem to edit it out of the venue.php file, it doesnt seem to remove it.
[[<input type=”checkbox” id=”EventShowMap” name=”EventShowMap” value=”1″ <?php checked( tribe_embed_google_map( $event ) ); ?> />]]Firstly, you’ll definitely want to make sure you’re not editing any template files directly, as your changes will be overwritten when you update the plugin. The best way to make modifications to the template files is via a template override. Take a look at our themer’s guide to learn more about how to do this.
With that being said, you should actually be able to hide the ‘Show Google maps’ checkbox without editing the template files at all. All you’ll need to do is paste the following snippet into your theme’s functions.php file and it should add the CSS to hide the checkbox for you: https://gist.github.com/ckpicker/edc8ae08827fd235ace1
Give that a try and let me know if it does the trick. Thanks! 🙂
-Casey-
May 19, 2014 at 6:11 pm #166811astcit
ParticipantThanks so much Casey!
You guys have got some really good support.and yep, all edits are being done in the child them as needed.
the Google maps check box has now been removed! Thanks again!….is it possible to change the order maybe of the venues drop down list?
May 19, 2014 at 6:22 pm #166819astcit
ParticipantIve found that there is a place to change the “Default venue for submitted bookings” under the settings > community > Default venue for submitted bookings. But it doesnt seem to take…
May 20, 2014 at 5:37 am #167382Casey
ParticipantGlad to hear that my answer did the trick for you! Regarding your other question:
Ive found that there is a place to change the “Default venue for submitted bookings” under the settings > community > Default venue for submitted bookings. But it doesnt seem to take…
We’re definitely aware of this issue, and have it slated to be fixed in the next release, so stay tuned!
Since it looks like you’re all set, I’m going to mark this thread “Answered” and close it out.
By the way, if you have a minute or two, we would love it if you’d write a few words for us here: http://m.tri.be/jw
Thanks in advance. 🙂
Cheers,
Casey -
AuthorPosts
- The topic ‘Removing "Use New Venue" in Dropdown’ is closed to new replies.
