Use symfony form in event editor ?

Hello,

i would like to know if it was possible to use a symfony form instead of the javascript form in the event editor ?. Or is it possible to retrieve datas submitted by the form creator (but not in xml) ?

Thanks

Hi,
you can detect when the default lightbox is called, and then submit the page to the symfony form page.
When the form is saved, you save changed to the database and then redirect user back to a calendar page. Values of the original lightbox can be obtained from the event object, e.g.

[code]scheduler.showLightbox = function(id){
var event = scheduler.getEvent(id);

window.location.href = ‘edit.php?event=’ + id;

}[/code]

Thanks,
i’ll show modal and put my form in it.

I’m serializing my entity in xml, but my xml file is not like the default events.xml

The default is like :

<start_date></start_date>
<end_date></end_date>




</data

and i want the scheduler to be able to read my file

17 <![CDATA[2014-05-24 00:00]] <![CDATA[2014-06-08 00:00]] 18 Foo 17 12 Foobar