Hi,
whats wrong with my config. Repeat events are displayed as Multi Day events.
[code]function init() {
scheduler.config.xml_date="%Y-%m-%d %H:%i";
scheduler.config.readonly = true;
scheduler.config.first_hour=8;
scheduler.config.prevent_cache = true;
// multi-day auch in week und day
scheduler.config.multi_day = true;
scheduler.init('scheduler_here',null,"week");
scheduler.load("data_shared.php?user=1");
scheduler.load("data_shared.php?user=2");
//coloring for different users
scheduler.templates.event_bar_text=scheduler.templates.event_text=function(start,end,event){
return "["+event.user_id+"] "+event.text;
}
scheduler.templates.event_class=function(start,end,event){
if (event.user_id==2) return "user_2";
}
}
[/code]
in my data_shared.php, i call the data with this:
$scheduler->render_sql("select * from cal where event_type=1 AND user_id = ".$user_id,"event_id","start_date,end_date,event_text,rec_type,event_type,event_pid,event_length,user_id");
Maybe your .user_2 CSS class has background-color property and just looks like multiday event?
If you know how to use browser’s console try following:
var a = scheduler.getEvent(344);
a
where 344 is id of the event which is displayed as multiday. Then browse returned object properties and copy all of them here (including internal one starting with ‘_’).
3. If you site is available on the internet — please share a link so we could where is the problem.