ancarebeca / FullCalendarBundle

Symfony3 integration with the library FullCalendar.js
36 stars 38 forks source link

fullCalendar doesnt return extended entity #28

Open SanderMuller opened 7 years ago

SanderMuller commented 7 years ago

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!

ancarebeca commented 7 years ago

@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.

grantwhitaker06 commented 7 years ago

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