Support » Plugin: WP Calendar » [Plugin: WP Calendar] {event-calendar} not working

  • Resolved oscb


    Hi there, I’m having a little bit of trouble trying to get the calendar working on my website. I have configured it all already in the Options Page. The fse_print_events works perfectly, but when I put the tag {events-calendar} it just doesn’t display anything on any page nor post.
    First I though that it could be a problem with 3.0 but it didn’t work on a 2.9 WordPress niether.
    I’ve disabled any other jquery or Javascript thinking that it could case a problem, with no luck.
    As far i see the tag just adds this to the code:

    <div id="fscal-4c2a2f"></div><script type="text/javascript">jQuery(document).ready(function() {jQuery('#fscal-4c2a2f').fullCalendar({firstDay: 1,timeFormat: "H:mm",monthNames: ["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"],monthNamesShort: ["Ene","Feb","Mar","Abr","May","Jun","Jul","Ago","Sep","Oct","Nov","Dic"],dayNames: ["Domingo","Lunes","Martes","Miércoles","Jueves","Viernes","Sábado"],dayNamesShort: ["Dom","Lun","Mar","Mie","Jue","Vie","Sab"],titleFormat: {month: "MMMM yyyy",week: "MMMM dd[ yyyy]{ \'—\'[ MMMM] dd yyyy}",day: "dddd, MMMM d, yyyy"},columnFormat: {month: 'dddd',week: 'ddd MM/d',day: 'dddd MM/d'},buttonText: {prev: '&nbsp;◄&nbsp;',next: '&nbsp;►&nbsp;',prevYear: '&nbsp;<<&nbsp;',nextYear: '&nbsp;>>&nbsp;',today: 'today',month: 'month',week: 'week',day: 'day'},eventClick: function(calEvent, jsEvent, view) {document.location.href='';},events: function(start, end, callback) {
    					    			action: 'wpcal-getevents',
    					                start: Math.round(start.getTime() / 1000),
    					                end: Math.round(end.getTime() / 1000)},
    					    		function(events) {
    					    			var evt = eval(events);

    I guess that’s what it should do, but no display anyway.
    Does anybody know what could be causing this? Is there a function to call it from the theme instead?

Viewing 13 replies - 1 through 13 (of 13 total)
  • Oh, already figured out, there was an issue because I already preloaded jQuery in the wp_head; with a function.



    I’m not able to get WP Calendar to work at all by placing {event_calendar} in my pages, just get nothing. What was causing you to load jQuery in the header?

    I’ve got the same question as darkmatter. I’m using Slideshow gallery Pro as a plug-in, so that may be the culprit. I’m not sure hwo to deal with it yet, though. What did you do darkmatter?


    In case this helps anyone else – what was causing the conflict for me was a subscribe form for Mail Chimp. It’s not a plug-in, just code I had added to a sidebar. I haven’t found a fix yet.

    And… here’s what I did that fixed it. I used the MailChimp List Subscribe Form plug-in.

    I’m having the same problem too, but NOT using “mailchimp”. So the problem must not be that plugin. In fact, “WP Calendar” is the ONLY plugin I have active.

    Plugin Author faebu


    can you find the the code fragment from the first post in the source code of your page? if yes, please check in the sourcecode which javascript library are loaded. i could be also a problem of your theme.

    Thanks for responding. I find that code piece, but I have no ides about checking javascript or what to do about it. I’ve tried the original “twentyten” theme and same problem. One thing I’m wondering is that I’ve tried several different calandar plugins and since have deactivated/deleted them, but I notice the tables still exest in the db. I’d drop them if I knew when ones to keep. Thanks.

    Plugin Author faebu


    Make sure the necessary libraries are loaded by checking the wp calendar general settings. You find there some options at the bottom wether to load the libraries or not. Make sure these checkboxes are checked!

    If you are very sure that these tables arent in use anymore, you can delete them. If you re doing wrong you can break your blog, so be carefull!

    That seemed to work! It was at the bottom of the “global Setting”, and there are two drop down select boxes in order to “enable/disable” the libraries.

    I agree about deleting the db tables. it’s had to tell which ones belong and which one don’t.

    Thank you very much for your help!

    Plugin Author faebu


    you’re welcome!

    I’m now having this problem in another theme, namely Quantive by Rockethemes. The tag is on a page, but nothing appears. I checked to make sure that the options were enabled, etc.

    Any other suggestions?

    BTW it’s loading jquery.js?ver=1.4.2

    And there’s also this, commented out:

    <script type='text/javascript'>
    /* <![CDATA[ */
    var WPCalendar = {
    	ajaxUrl: ""
    /* ]]> */
Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘[Plugin: WP Calendar] {event-calendar} not working’ is closed to new replies.