Home › Forums › Calendar Products › Community Events › Can I Hide the Saved Venue and Saved Organizer Drop downs?
- This topic has 9 replies, 4 voices, and was last updated 10 years, 10 months ago by
Support Droid.
-
AuthorPosts
-
May 29, 2012 at 5:04 pm #19857
Ross
ParticipantIs it possible to hide the Saved Venue and Saved Organizer Drop downs from the Community Event form?
May 29, 2012 at 10:07 pm #19887Jonah
ParticipantHey Ross,
It depends on if you want to just remove the whole Event Location and Event Organizer blocks altogether or need to keep specific fields. Can you be a little more specific about what you want to do?
Thanks,
JonahMay 30, 2012 at 2:11 am #19899Ross
ParticipantHi Jonah
Thanks for the quick response.
I want to hide them from the publicly submitted events form, but want to keep them in the admin form. We would however eventually like to add the event location drop down back into the publicly submitted form once we have sorted out a list of locations we are happy with.
Have I made this as clear as mud?
Cheers
RossMay 30, 2012 at 7:52 am #19926Rob
MemberClear as mud on my end, Ross – thanks. Let me see what Jonah has to say based on this new information when he hits the forums today. Stay tuned!
May 30, 2012 at 12:24 pm #19940Jonah
ParticipantHi Ross,
This is much clearer. So what you’ll want to do is take /wp-content/plugins/events-community/views/events-meta-box.php and place a copy in an ‘/events/community/’ folder in your theme. Then basically just remove or comment out lines 93-98 to remove the Venue fields and then remove or comment out lines 121-133 (these lines will change if you remove the lines above) for the Organizer block.
Does that help?
– Jonah
June 4, 2012 at 7:46 am #20127Ross
ParticipantHi Jonah/Rob
Hope you both had a good weekend.
Thanks for the reply. I’m not wanting to remove the Event Location and Event Organizer input fields from the form, only the Use Saved Venue and Use Saved Organiser drop downs. Is this possible?
Cheers
RossJune 5, 2012 at 4:01 pm #20208Jonah
ParticipantHi Ross,
Oh ok I got it now. Try editing the same file in the same way I indicated and comment out lines 92 and 125 for:
do_action( 'tribe_venue_table_top', $postId );
do_action( 'tribe_organizer_table_top', $postId );
– Jonah
June 6, 2012 at 4:40 am #20221Ross
ParticipantHi Jonah
Top man! That’s done the trick.
Thanks for your help.
RossJune 6, 2012 at 7:45 am #20236Jonah
ParticipantGlad to hear Ross, marking this as completed 🙂
July 7, 2015 at 6:21 am #977021Support 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 ‘Can I Hide the Saved Venue and Saved Organizer Drop downs?’ is closed to new replies.
