Module

Developer
Supported

Editorial Calendar

ExpressionEngine 2

Back to this add-on's main page
View Other Add-ons From Glenn Jacobs

     

You must be logged in to post.

Calendar not showing

Bug Report

wnsvho
wnsvho

Hello,

My sysadmin found a minor bug that prevented the calendar from showing up in your index.php file, causing the Javascript to crash.

Here’s the section:

$(’#calendar’).fullCalendar({
          header: {
            left: ‘prev,next today’,
            center: ‘title’,
            right: ‘month,agendaWeek,agendaDay’
          },
          editable: <?php if ($disable_drag): ?>false<? else: ?>true<?php endif; ?>,
          disableResizing: true,
          eventSources: [
                    eventSource
                  ],

The php escaping marked in blue returns empty string instead of a value true or false:

editable: ,
disableResizing: true,

Hope thie helps with those who download this handy plugin in the future.