• Resolved Andrewzz

    (@andrewzz)


    Hello,

    First, thanks a lot for such amazing plugins for WP, they are really usefull.

    Ok, so my problem is that I’m unable to make the calendar (using WP FullCalendar) display on my website.

    I saw this error on the dev console.

    Uncaught TypeError: Object function ( selector, context ) {
    		// The jQuery object is actually just the init constructor 'enhanced'
    		return new jQuery.fn.init( selector, context );
    	} has no method 'widget' /calendario/:268
    Uncaught TypeError: Object #<Object> has no method 'on' /calendario/:357
    Uncaught TypeError: Object #<Object> has no method 'fullCalendar'

    This is the link to the site.

    http://gw2-lumen.com/calendario/

    Regards.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Andrewzz

    (@andrewzz)

    It seems it has something to do with the theme, as I have activated the default theme and the calendar worked.

    try to disable your theme other custom javascript functions or temporarily remove other javascript includes within your theme header.

    Thread Starter Andrewzz

    (@andrewzz)

    The problem is caused by a spoiler hack I’m using for the forum.

    <script language="JavaScript" type="text/javascript" src="<?php echo site_url(); ?>/wp-content/plugins/mingle-forum/js/spoiler.js"></script>
    <script type="text/javascript">
    $(document).ready(function () {
            $('#mingle-spoiler-view li').click(function () {
                    var text = $(this).children('p');
                    if (text.is(':hidden')) {
                            text.slideDown('200');
                            $(this).children('span').html('-');
                    } else {
                            text.slideUp('200');
                            $(this).children('span').html('+');
                    }
            });
    });
    </script>

    I included it in the header.php of the theme, do you have any clue why it is conflicting with the calendar script?

    did you try looking inside <script language="JavaScript" type="text/javascript" src="<?php echo site_url(); ?>/wp-content/plugins/mingle-forum/js/spoiler.js"></script>?

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    the inline part looks ok, so chance are it’s that spoiler.js file.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Calendar is not displaying’ is closed to new replies.