Dear all
Thank you very much for this fantastic extension, it works like a charm!
I have a question regarding the agenda view of the Joomla extension. I would like to show additional information in the description row from other fields.
I’ve seen I could add this code to “dhtmlxscheduler_agenda_view.js”:
scheduler.templates.agenda_text=function(ev){
return ev.text+" "+ev.some_property; //this line defines which properties will be shown
}
But I can’t figure out how I have to change the value ev.some_property. I want to show the information from the field called “firma” in the database. How do I have to change the code? And is it possible to add another information from another field?
Thank you very much for your help.
Kind regards,
Dave
ev is an event object, which stores information about time (ev.start_date, ev.end_date), event description (ev.time) and custom fields (ev.field1 if field name is ‘field1’, ev.firma for ‘firma’, etc).
Hi there
Thank you for your quick response!
I’ve added the code you provided but after the reload of the agenda view i just got “undefined”. Any ideas why?
Kind regards,
Dave