FullCalendarBundle icon indicating copy to clipboard operation
FullCalendarBundle copied to clipboard

fullCalendar doesnt return extended entity

Open SanderMuller opened this issue 8 years ago • 2 comments

I have added extra fields to the CalendarEvent entity, how do I display these, for example, on hover or click?

I added the description field, but the fullCalendar
eventClick: function (calEvent, jsEvent, view) doesn't return my custom fields in it's calEvent parameter.

Thanks in advance!

SanderMuller avatar Feb 23 '17 16:02 SanderMuller

@Rhinni, You could try to use the custom fields on Model/Event.php in order to set your custom data and then on the fronted side you will have a JSON with the event data and the custom field. Then you can use Mouseover in order to render the custom fields on the page. I hope that could help you.

ancarebeca avatar Mar 14 '17 20:03 ancarebeca

@ancarebeca very nice bundle thank you very much for putting the time into it!

grantwhitaker06 avatar Jul 20 '17 22:07 grantwhitaker06