meteor_supercalendar icon indicating copy to clipboard operation
meteor_supercalendar copied to clipboard

Customisation of Collection to include user defined fields

Open ravic1995 opened this issue 9 years ago • 1 comments

I would like to implement the package in such a way that the user can also define its own fields in the collection. If user wants the calendar events to be assigned to a certain user. The developer can add a field with userId and associate it with the Meteor.userId(). Making it easy for him to filter the collection for that particular user and display the events of a particular user only on the calendar.

ravic1995 avatar Jul 13 '15 15:07 ravic1995

You can do that now if you override the modal like I explain here: https://github.com/gabrielhpugliese/meteor_supercalendar#custom-events For example, you could render another modal that calls Calendar.insert() with your own data.

But I agree that should be another easier way if you do not want to change the HTML.

gabrielhpugliese avatar Jul 13 '15 16:07 gabrielhpugliese