antitoxic / dmWidgetEventCalendarPlugin

dmWidgetEventCalendarPlugin displays the days in from the current month in a list.
MIT License
1 stars 0 forks source link

in dmWidgetScheduleEventCalendarForm #1

Closed ardi-n closed 13 years ago

ardi-n commented 13 years ago

In line 9 add check if $choices has at least one element. This way array_combine() won't raise a warning

antitoxic commented 13 years ago

Thank you!

Tell me if you think I can improve the entire thing somehow.

ardi-n commented 13 years ago

Hello, I was thinking of a sort of interface/Doctrine_Template for models that can be events. Following this concept a Doctrine Record Listener is registered on those and when such a model object is saved/deleted, listener feeds event table with updated info or deletes an event. What's more, an admin can choose what models are displayed inside of calendar dm widget. This way models that are not connected and are separately managed can be mixed in common calendar if such need emerges. Cheers!

antitoxic commented 13 years ago

The multiple models is a good feature to implement. I'm continuing the discsussion at #2.