Can I Hide the Saved Venue and Saved Organizer Drop downs?

Home Forums Calendar Products Community Events Can I Hide the Saved Venue and Saved Organizer Drop downs?

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #19857
    Ross
    Participant

    Is it possible to hide the Saved Venue and Saved Organizer Drop downs from the Community Event form?

    #19887
    Jonah
    Participant

    Hey 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,
    Jonah

    #19899
    Ross
    Participant

    Hi 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
    Ross

    #19926
    Rob
    Member

    Clear 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!

    #19940
    Jonah
    Participant

    Hi 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

    #20127
    Ross
    Participant

    Hi 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
    Ross

    #20208
    Jonah
    Participant

    Hi 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

    #20221
    Ross
    Participant

    Hi Jonah

    Top man! That’s done the trick.

    Thanks for your help.
    Ross

    #20236
    Jonah
    Participant

    Glad to hear Ross, marking this as completed 🙂

    #977021
    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 ‘Can I Hide the Saved Venue and Saved Organizer Drop downs?’ is closed to new replies.