I have events that contain both the event title and event time. However, I need to have 'fc-event-title' show up first in the event, before 'fc-event-time'. Right now it's the opposite. How would I go about switching this?
Any help is greatly appreciated.
解决方案
User @ppumkin suggested that I edit the core javascript (fullcalendar.js), which proved to be the solution. I took the following item on line 3665:
(!event.allDay && seg.isStart ?
"" +
htmlEscape(formatDates(event.start, event.end, opt('timeFormat'))) +
""
:'') +
"" + htmlEscape(event.title) + "" +
And replaced it with the following:
"" + htmlEscape(event.title) + "" +
(!event.allDay && seg.isStart ?
"" +
htmlEscape(formatDates(event.start, event.end, opt('timeFormat'))) +
""
:'') +
Basically, I just put the 'fc-event-title' span before 'fc-event-time'.