Disable / hide fields on add event form

Home Forums Calendar Products Events Calendar PRO Disable / hide fields on add event form

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #13312
    Dale-Anthony
    Participant

    Just getting ECP setup on my new site, liking it so far but I’ll probably have a couple of questions while I’m working on integrating it with my setup and theme.

    Firstly I was just wondering if there is a way that I could disable or hide fields in the add new event form, specifically I’d like to hide the ‘State or Province’ and ‘Show Google Maps Link’ fields.

    Ideally I’d like to also hide the ‘Country’ and ‘City’ fields, but keep the default values set, these fields will always be the same for the website I’m working on.

    Also, if it’s possible I’d like the ‘Show Google Map’ option checked by default.

    Any help here is greatly appreciated 🙂

    Thanks

    #13330
    Rob
    Member

    Happy to help as your questions keep coming, Dale. These are both interesting suggestions. While I don’t have a solution off-hand, I’ve asked our dev Jonah to chime in with anything he might be able to suggest.

    #13341
    Jonah
    Participant

    Hey Dale-Anthony,

    There’s no way with the plugin to do any of this but you could certainly hide fields with CSS (you’ll have to figure out how to add custom CSS to the WP admin) and to set default values for County and City you should be able to do this via jQuery somehow along with checking the Show Google Map option.

    Good luck!

    #13398
    Dale-Anthony
    Participant

    Excellent, good suggestions, when I get a spare moment I’ll see if I can get this setup 🙂

    Cheers guys!

    #13435
    Rob
    Member

    Perfect! Thanks for confirming, Dale-Anthony. Let us know if you need anything else or have other issues here.

    #15373
    Armando
    Participant

    You can make use of Adminimize plugin, it has really good granularity in terms of what to hide, etc.

    You can then use firebug to get the the selectors or clases and hide the ones you don’t need

    #15432
    Rob
    Member

    Solid suggestion, Armando. Thanks for sharing.

    #15492
    Armando
    Participant

    You are welcome!

    One other plugin that works wonders in combination with Adminimize is Members since you can add roles that then you can restrict from just about anything you want.

    #15519
    Rob
    Member

    Oh, nice. We’ve had a few users running the Members plugin and I believe I recently worked with it on a client site. Good to know, thanks again dude 🙂

    #975685
    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 ‘Disable / hide fields on add event form’ is closed to new replies.