Using Buttons to change calendar view rather than dropdown

Home Forums Calendar Products Events Calendar PRO Using Buttons to change calendar view rather than dropdown

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1127893
    Jacob
    Participant

    Is it possible to print out buttons that change the view rather than using the dropdown?

    I know I can just hardcode a few URLs to some buttons, but the dropdown takes into account what category the user is on, etc, when generating these links.

    #1127912
    George
    Participant

    Hey Jacob,

    Thanks for reaching out.

    It is unfortunately not possible by any out-of-the-box means to create buttons that perform the same actions as the “View As” dropdown menu.

    It’s technically possible, in a sense—but unfortunately only by way of some extensive custom coding, and we are not able to help with writing custom code here.

    If you are keen on writing custom code for this to happen, then to get started, I would recommend watching the JavaScript console as you use the “View As” button—see how things are working, and then dive into the plugin JavaScript and copy-and-paste much of it as you create your custom buttons.

    Note that you can probably also “trigger” a click on a “View As” menu item when some other custom button is clicked, using jQuery’s trigger() function. You can read more about that here → http://api.jquery.com/trigger/

    Best of luck with your customizing!

    George

    #1134512
    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 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Using Buttons to change calendar view rather than dropdown’ is closed to new replies.