views:

40

answers:

2

Hi, I want to have the same event view in basicweek as in agendaweek. (Darker headline contains the event from and event to time) and then a light-blue contains the information. Where can I cusomize this style?

Greetings Alexander

A: 
Jake1164
A: 

To get the two level color you would need a few additional steps. You have to modify the fullcalendar.js script in one place.

The fullcalendar removes all HTML so you would have to modify line ~3900 and add the following:

    return s.replace(/&/g, '&')
    .replace(/</g, '&lt;')
    .replace(/>/g, '&gt;')
    .replace(/'/g, '&#039;')
    .replace(/"/g, '&quot;')
    .replace(/\n/g, '<br />')
    .replace(/&lt;div&gt;/g, '<div>')
    .replace(/&lt;\/div&gt;/g, '</div>');

And then the formating for the title would be:

event: 'upper half <div> lower half </div>'

and in the style add a new style for the new div

.holiday div { background-color: black; }

Jake1164