I follow the step by step from your guideline about recurring calendar and i have a problem occur. What happen is when i’m setting up a task for every monday and tuesday for every week. Somehow the task appears for every day events. Is there any thing i can do to fix it?
Please provide exact steps to reconstruct the problem
here is the code i did
function init() {
scheduler.locale.labels.unit_tab = "Unit";
scheduler.locale.labels.timeline_tab = 'Timeline';
scheduler.locale.labels.section_custom="Section";
scheduler.config.details_on_create=true;
scheduler.config.details_on_dblclick=true;
scheduler.config.first_hour = 9;
scheduler.config.fix_tab_position = false;
scheduler.config.last_hour = 20;
scheduler.config.max_month_events = 3;
scheduler.config.scroll_hour = 8;
scheduler.config.skin = 'terrace';
scheduler.config.xml_date="%Y-%m-%d %H:%i";
scheduler.config.hour_date="%h:%i %A";
scheduler.config.time_step= 15;
scheduler.config.multi_day = true;
scheduler.config.mark_now = true;
scheduler.config.setUpdateRender= true;
scheduler.config.repeat_date = "%m/%d/%Y";
scheduler.config.include_end_by = true;
scheduler.config.prevent_cache = true;
scheduler.locale.labels.section_description = 'Description';
scheduler.locale.labels.section_time = 'Time period';
scheduler.locale.labels.section_user = 'Technician';
scheduler.config.lightbox.sections = [
{“height”:100, “name”:“description”, “type”:“textarea”, “map_to”:“text”},
{“name”:“recurring”, “height”:115, “type”:“recurring”, “map_to”:“rec_type”,
“button”:“recurring”},
{“height”:100, “name”:“time”, “type”:“calendar_time”, “map_to”:“auto”},
{“name”:“user”, “type”:“select”, “map_to”:“user”, “options”:scheduler.serverList(“units”)}
];
[code]<?php
require_once(’…/codebase/connector/scheduler_connector.php’);
require_once(‘db_config.php’);
$dbtype = “MySQL”;
$res=mysql_connect($hostname,$user,$password);
mysql_select_db($dbname);
$scheduler = new JSONSchedulerConnector($res, $dbtype);
$user_list = new JSONOptionsConnector($res, $dbtype);
$user_list->render_table("users","id","id(value),name(label)");
$scheduler->render_table("events","event_id","start_date,end_date,text,rec_type,event_pid,event_length,user");
?>[/code]