traxxus
February 27, 2012, 1:42pm
#1
Hi
I use the 05_serialize_recurring.html template. Now i want to use the mobile version 01_init.html.
Now my question is, how i can use the same xml file for mobile and “desktop” version
The target is, to have the same data on both calendars.
Please explain how i can do that
Thank you!
You can load the same data in the mobile scheduler, but there is no API to serialize data back to XML in the mobile version.
$$('scheduler').load('serialized.xml', 'scheduler');
traxxus
February 28, 2012, 8:55am
#3
Hi Stanislav
I put this line in 01_init.html:
$$("scheduler").load("php/data_r.xml","scheduler");
(php folder and data_r.xml is there too)
Is this ok?
Is there any way to edit and save the data back from the mobile calendar?
You can use dataprocessor and save(load) data in DB.
Save server side code will work for both mobile and normal versions of scheduler.
traxxus
February 29, 2012, 9:43am
#5
Hi Stanislav
I’m far away from a coder or little skilled in it.
Can you please give me an example of your idea?