WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Events Calendar] Sidebar Widget Won’t Install

[Plugin: Events Calendar] Sidebar Widget Won’t Install

  • Trying to activate the Widget in my sidebar and WordPress won’t allow me to install the sidebar widget.

    I drag the Events Calendar widget across to my sidebar and it won’t let me move the widget within the sidebar nor access the widget options through the drop down button.

    Anybody have this problem or know a solution

    http://wordpress.org/extend/plugins/events-calendar/

Viewing 4 replies - 1 through 4 (of 4 total)
  • I am having the same problem. I can drag the sidebar widget over to the sidebar, but the options panel will not dropdown and when I refresh the page, it disappears from the sidebar widgets area.

    I’m having the same trouble, but if you copy ‘<?php SidebarEventsList();?>’ and paste it into your sidebar.php it will work. This is meant to be for themes that are not widget ready, so maybe this widget ain’t sidebar ready.

    Not sure about you guys, but the problem is not just with installing the widget for this plugin, but trying to do anything with any of the widgets once this plugin is installed. Once I activate the plugin in 2.8.4, I can no longer manage any widgets. It would be nice to get this fixed so this plugin is useful again…

    Edit the events-calendar.php file, by replacing the function EventsCalendarINIT() with this:

    function EventsCalendarINIT() {
        $inadmin = FALSE;
        if (function_exists('is_admin')) {
            $inadmin = is_admin();
        }
        else {
            $inadmin = strstr($svr_uri, 'wp-admin');
        }
    
        if (!$inadmin) {
            wp_enqueue_script('jquerybgiframe', '/wp-content/plugins/events-calendar/js/jquery.bgiframe.js', array('jquery'), '2.1');
            wp_enqueue_script('jquerydimensions', '/wp-content/plugins/events-calendar/js/jquery.dimensions.js', array('jquery'), '1.0b2');
            wp_enqueue_script('jquerytooltip', '/wp-content/plugins/events-calendar/js/jquery.tooltip.min.js', array('jquery'), '1.3');
            wp_enqueue_script('thickbox');
        }
    
        // Always register both the widget and widget control objects
        // in case there are dependencies between the two.
         $widget = new EC_Widget();
         $management = new EC_Management();
         register_sidebar_widget(__('Events Calendar','events-calendar'), array(&$widget, 'display'));
         register_widget_control(__('Events Calendar','events-calendar'), array(&$management, 'widgetControl'));
    }

    Found in the plugin bug tracker here:
    http://tracker.wp-eventscalendar.com/view.php?id=79

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Events Calendar] Sidebar Widget Won’t Install’ is closed to new replies.
Skip to toolbar