popup window for events

This topic contains 5 replies, has 2 voices, and was last updated by  Mel Fisher 9 years, 1 month ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #20979

    Hi,
    Great plugin and support from Steve always. Keep up the good work.

    Question 1: How can I have single events popup in a window when they are clicked<br />
    on the full calendar?

    Question 2: Is it possible to disable the clicking of events on the full calendar?
    In a few cases I just want the user to hover over the event for the
    information not click it!
    Thanks
    Mel

    Mel Fisher
    #21000

    Hi Mel,

    1) I’m not sure this is possible without editing the core plug-in. The calendar has an eventClick property (see http://fullcalendar.io/docs/mouse/eventClick/) – but there is no way of setting that without editing frontend.js and adding it.

    2) This is easy, just use this snippet and return false: http://codex.wp-event-organiser.com/hook-eventorganiser_calendar_event_link.html

    Stephen Harris
    #21041

    Hi Stephen,

    I would like to try option #2 that you mentioned, but I am not very technical.

    Can you give me more detail on how to implement the hook to disable clicking on events on a full calendar.

    Thank You
    Mel

    Mel Fisher
    #21063

    Try adding

    add_filter('eventorganiser_calendar_event_link', '__return_false' );
    

    to a site utility plugin or theme functions.php. Then you’ll need to update an event to clear the cache.

    Stephen Harris
    #21074

    Hi,

    Ok I will try that…

    Thanks as usual
    Mel

    Mel Fisher
    #21083

    Hi again,

    Thank you worked great! on my full calendar… used code snippets and added the filter.
    this post can be closed.

    Mel

    Mel Fisher
Viewing 6 posts - 1 through 6 (of 6 total)
To enable me to focus on Pro customers, only users who have a valid license for the Pro add-on may post new topics or replies in this forum. If you have a valid license, please log-in or register an account using the e-mail address you purchased the license with. If you don't you can purchase one here. Or there's always the WordPress repository forum.