Scheduler Lightbox customization

Hi.

I know that in the next version (currently beta) it�s possible to customize the lightbox form using custom fields. This is great but I would like to know if there is a “safe” way of taking control of the button which calls the lightbox in order to call kind of a prompt (another web page where I will insert events in the database through a complex form). After closing that prompt, I will then refresh the scheduler with this code:



function reload(){

scheduler.clearAll();

scheduler.load();

}



Thanks in advance for your help,

Gonzalo.







You can override showLightbox method of scheduler - this is the key point , which is used to open “details” form

scheduler.showLightbox = function(id){
// id - id of event
… open custom form and fill it with details, based on provided id …
}

Thanks!