FullCalendar header buttons missing

JavascriptJqueryFullcalendar

Javascript Problem Overview


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' 
	}]

})

Javascript Solutions


Solution 1 - Javascript

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.

Solution 2 - Javascript

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');

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionMojiView Question on Stackoverflow
Solution 1 - JavascriptSteveBView Answer on Stackoverflow
Solution 2 - JavascriptssinView Answer on Stackoverflow