60

I am using fullCalendar as below and have defined header section, everything works ok except header where it's only showing title but next, prev, month view etc buttons are missing

if I remove word 'title' it removes title so it seems to be doing something but just not showing buttons, any ideas why? am I missing something? my code looks like below:

jQuery('#calendar').fullCalendar({
    header: {
        left: 'prev,next today',
        center: 'title',
        right: 'month,agendaWeek,agendaDay'
    },
    eventSources:
    [{
        url: url,
        color: '#ffdce5',
        textColor: 'black' 
    }]

})
Moji
  • 5,720
  • 2
  • 38
  • 39

2 Answers2

195

Having just had the same problem I suspect your issue is that you're missing the media="print" attribute on the fullcalendar.print.css style sheet link.

Sebas
  • 21,192
  • 9
  • 55
  • 109
SteveB
  • 2,311
  • 1
  • 16
  • 6
0

And if you're using Zend Framework to append the stylesheet, you can use this to add the media="print"...

$this->view->headLink()->appendStylesheet('/styles/jquery-plugins/fullcalendar.print.css', 'print');
Sebas
  • 21,192
  • 9
  • 55
  • 109
ssin
  • 221
  • 1
  • 4
  • 13