i have ported this to the current SVN ... hmm calender dosnt work the iframe is empty no javascript or php errors ... i have add to func the output handlers
PHP Code:
$OUTPUT->add_handlers(array(
'calendarframe' => 'rcmail_calendar_frame',
'calendarlist' => 'rcmail_calendar_list',
'daycontent' => 'rcmail_day_content',
'weekcontent' => 'rcmail_week_content',
'monthcontent' => 'rcmail_month_content',
'seteventbuttons' => 'rcmail_set_event_buttons',
'createeventformstart' => 'rcmail_create_event_form_start',
'createeventformend' => 'rcmail_create_event_form_end'
));
and i remove the parse_template calls and add the $OUTPUT->send(); calls only the calendar admin page will work i have also create a calendar and is correct in the DB.
Only by opening the page is nothing shown.