WordPress.org

Ready to get started?Download WordPress

Forums

WP Calendar
[WP Calendar] View single event link in lightbox? (2 posts)

  1. 2ndzenith
    Member
    Posted 3 years ago #

    Anyone try to view single event details using a lightbox (opens in a small box above calendar, with background greyed out) from the graphical calendar view? Found a number of lightbox plugins that could work and would be ideal way to view individual event details without going to separate pages.

    People have noted that multiple JQuery frameworks might cause issues. Any tips or recommendations?

  2. faebu
    Member
    Plugin Author

    Posted 3 years ago #

    if the plugins are coded properly, the required libs are not loaded directly, but registered and loaded by wp. This way libraries aren't loaded twice ore more and are also running in "compatibility" mode, so they don't affect each other.

    it is not possible to show the details in a lightbox this moment, because the javascript code is hard coded, when a single page view is setup.

    you could try to remove the single page view from the wp calendar settings, so no javascript code is generated for the redirection and then add your own function as a parameter of the {events_calendar} tag like this

    {events_calendar; eventClick="function(calEvent, jsEvent, view) \{ // Your Code \}"}

    it may work, but i'm not sure. for more information about eventClick have a look here.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic