Hi Everyone,
I have problem with recurring event extension. I have used recurring event extension and map ext. when i add new event it added successfully but when i refresh event page or visit that page any time after adding event it update my event and set end_date as 0000.00.00 and event_length as 2851200,
when i refresh page it calls two urls:
1: codebase/php/events_rec.php?timeshift=-330&uid=1329206331770
2: codebase/php/events_rec.php?editing=true
function init() {
scheduler.config.xml_date="%Y-%m-%d %H:%i";
scheduler.config.prevent_cache = true;
scheduler.config.details_on_create=true;
scheduler.config.details_on_dblclick=true;
scheduler.locale.labels.map_tab = "Map";
var dp = new dataProcessor("codebase/php/events_rec.php?a=1");
dp.init(scheduler);
scheduler.init('scheduler_here','',"month");
scheduler.load("codebase/php/events_rec.php");
scheduler.locale.labels.section_customer_id="Customer";
var sections=[
<?php
$i=1;
$j= count($customers);
foreach($customers as $customer)
{
?>
{key:<?=$customer['id']?>, label:"<?=$customer['customer_name']?>"}<?php echo($i<$j?',':'')?>
<?php
$i++;
}
?>
];
scheduler.config.lightbox.sections=[
{ name:"description", height:50, map_to:"text", type:"textarea", focus:true },
{ name:"customer_id", height:23, type:"select", options:sections, map_to:"customer_id"},
{ name:"recurring", height:115, type:"recurring", map_to:"rec_type", button:"recurring"},
{ name:"time", height:72, type:"time", map_to:"auto"}
];
}
I have customize light box form field.
Thanks!