Hello,
I’m using the scheduler for joomla and there is my problem :
in events_rec.php :
I’ve changed a little the table…
$scheduler->render_table($table_name,“id”,“date_deb,date_fin,libelle, id_user”);
in scheduler.php :
if ($options[$usertype] == ‘0’ ) {
$scheduler .= ’
scheduler.attachEvent(‘onClick’,function(id){
var ev = scheduler.getEvent(id).id_user;
if(ev != “-1”)
scheduler.showLightbox(id);
scheduler.config.readonly_form = false;
return true; });’;}
I want that when the event has id_user “-1” the event isn’t editable but when the event has another id_user, the event can be modified.
Please, I need help!