The problem is the fact that when I am creating a new event in the Scheduller and save it,
in my database the begining and end date are 0000-00-00 00:00:00 I don’t Knwo why
Hi
this is the format that i have define for the date according to my data base
scheduler.config.xml_date = “%Y-%m-%d %H:%i:%s”; I hope it is OK
but i still have the same problem It is why i would like to Knwo if
this configuration looks good
The question is how to map the time section with the field ag_dateDebut(Begining date ) and ag_dateFin (End Date) in my data base? I am not shure that map_to:“auto” will do it automatically
Please uncomment logging function in connector file (events.php) and check what log says.
I am affraid that I don’t Knwo where I can reach this “events.php” file to uncomment logging function.
Hi
I use a data processor and connector to fetch event from my data base like this :
require("codebase/connector/scheduler_connector.php");
require("codebase/connector/db_mysqli.php");
$res = new mysqli(HOST, USER, PASSWORD, DATABASE);
//liaison entre le scheduller et le dataprocessor a travers le connector
$connector = new SchedulerConnector($res,"MySQLi");
//mappage du connector avec la table agenda et ses champs.
$connector->render_table("agenda","ag_id","ag_dateDebut,ag_dateFin,ag_patient,ag_detail");
$connector->set_encoding("UTF-8");
Hi
It ok now for the problem of date format
but I have 2 another problem :
in this section :
{ name:"patient", options:patients, map_to:"ag_patient", type:"combo", image_path: "./codebase/imgs/", filtering: true, focus:true},
How can I refer to my combo in order to for exemple define it readonly
The anoter problem is the fact that the options of my combo have this structure
When I selected Pineapple for exemple key 5 is saved in my Data Base this sound OK but when I relaod my sheduler in my browser I have Key 5 displayed. I would like to display Pineapple as I Choose Is it possible ? if yes How ?
Best Regards
Mbello
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan