Issue 182: Customization Examples Please!
Status:  Done
Owner: ----
Closed:  Nov 2009
Reported by freshman...@gmail.com, Nov 11, 2009
What steps will reproduce the problem?
1. Reading the Documentation
2. Not being hugely smart (I'm not)
3. Trying to Customize the Month Display and back and next buttons:

I've been a huge fan of fullcalendar since the early versions but one thing
I've always struggled with is creating custom controls and headings.  For
example, I've disabled the default header( 'header: false') and now want to
update my own custom header on data load, using jQuery but I don't know
where to get the currently loaded month value from:

	if (bool) 
		$('#loading').show();
		else 
		$('#loading').hide();
		$("#calHd").html($.fullCalendar.month);
	}

What is the expected output? What do you see instead?

Does anyone have any simple examples of how to link your own buttons and
headings to fullcalednar?  Apologies for the simple questions, jQuery is
NOT my strongpoint!

Thanks


What version of the product are you using? On what operating system?


Please provide any additional information below.

Nov 20, 2009
Project Member #1 adamrs...@gmail.com
right now there is no way to get the title whenever you want (see
https://code.google.com/p/fullcalendar/issues/detail?id=81), but you can implement the
'viewDisplay' trigger
(http://arshaw.com/fullcalendar/docs/triggered-actions.php#triggered-actions) and
have it update a variable or do whatever you want. for example:

viewDisplay: function(view) {
   $('#customheader').text(view.title);
}
Nov 26, 2009
Project Member #2 adamrs...@gmail.com
im closing this issue, put please contact me if you are still having trouble.

not that this helps now, but sometime in the future, fullcalendar will have a nice
new website with many more examples.
Status: Done
Feb 24, 2012
#3 a.zloch....@gmail.com
yes, off course, thanks for all working around this fullcalendar, but .. we now have the future but still we, standard users, have much problems with basic customisation. F.ex. different header view(type) for month/week/day view. Or a limited range of available dates - f.ex. only one month per year, or only one week per month or (in day view) only one week for prev/next buttons.