-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Month/Year/Day Labels #16
Comments
@fablet did you manage to figure out how to solve this? |
Yes as a matter of fact I did. There is a function in the calendar.js file called getTitle. I created div on the calendar.html page and then set a document.getElementById equal to the getTitle and put it between the this._loadEvents(); and this.render(); calls that instantiate the calendar. You can tweak how the titles display between the getTitle function and the title strings below defaults at the top of the calendar |
@fablet can you explain a little better the changes that u did , please ? 'Cause my instance is having the same problem :( |
document.getElementById("id of the div you create on calendar.html where you want titles to show up").innerHTML = this.getTitle(); |
the current templates do not display the name of the month, year or day you are looking at, as appropriate to month, year or day views.
I can see this displayed in demo's for the calendar this was originally based on, but cannot find the means to put this on anywhere in the code.
The text was updated successfully, but these errors were encountered: