I have been trying to decorate the widget class in order to get some more database fields and add some custom fields to the widgets that are shared between all the widgets.
Adding the database fields wasn't a problem but adding an updateCMSFields has no effect. I've made sure that all the widgets inheriting from the base class call parent::getCMSFields to make sure that getCMSFields is actually called on the Widget class but no luck.
Has anyone tried this and succeeded or does anyone know why this fails?
Is it because the decorator is on a parent class and not the class that is actually used?
Kindly,
Marcus