Hi, I been playing around with widgets & I feel there is alot can be done & docs doesn't have alot of info about them. I will use this topic to ask questions & make it easier for others to find this info too :
class HomePage extends Page{
static $db = array(
);
static $has_one = array(
''MyWidgetArea' => 'WidgetArea'
);
}
1- How can I limit the number of widgets in 'MyWidgets'?
2- How can I make a widget unique per page , so a widget can be used only once in 'MyWidgets' ?
Thanks