recurring event is displayed as multi day event

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.prevent_cache = true;
	// multi-day auch in week und day
	scheduler.config.multi_day = true;
	//coloring for different users
		return "["+event.user_id+"] "+event.text;
	   if (event.user_id==2) 	  return "user_2"; 

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");

Thanx for Help


Can you please add information about event (any or some of them) which are displayed as multiday?
start_date, end_date, rec_type, event_length.

Best regards,

hello Ilya,
this is the data:

start_date: 2011-03-01 08:00:00
end_date: 9999-02-01 00:00:00
rec_type: month_1_1_1_#no
event_length: 900

best regards,

Hello, xPilger.

Nothing really comes to mind.

  1. Maybe your .user_2 CSS class has background-color property and just looks like multiday event?
  2. 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.

Best regards,

my css for user_2 is:

[code]/user 2/
/event in day or week view/
.dhx_cal_event.user_2 div{
background-color:#4056ff !important;
color:white !important;
/multi-day event in month view/
background-color:#4056ff !important;
color:white !important;

 /*event with fixed time, in month view*/
	color:#4056ff !important;
}		[/code]

and it’s used in other sites with no problem.

With the console, in the moment, I’m not familar.
I’ve try your command and it was report this:

Fehler: scheduler is not defined Quelldatei: javascript:%20var%20a%20=%20scheduler.getEvent(1388); Zeile: 1
something I do wrong…thank for help