silverstripe/silverstripe-widgets — pull request #51 by NoBone (2013-04-22 13:20:17+00:00)
Title: Updated Widget module to show hide Widgets in specified WidgetArea

Hi,

I added the capability to specify which Widgets i wanted to show up in specified WidgetAreas. Basically the module still works the same out of the box but i added a filter that uses a static called $only_available_in to filter on the has_one relation.

This way i can prevent big lists of Widgets that don't apply to a WidgetArea from showing up and cluttering my editor.

Hope you like it.

Greetings,

Mike