Hi,
I am trying to get the decorating thing for Memberclass working. Unfortunately, how hard I try (following literally the examples on the silverstripe website), it isn't working, I get an error when running de/build/:
Fatal error: Object::add_extension() - Extension "CommissionDescription" is not a subclass of Extension in C:\[path]\sapphire\core\Object.php on line 530
Currently I am using silverstripe 2.4.5.
I use for CommissionDescription:
class CommissionDescription extends DataObjectDecorator {
// some thing like extraStatics in here
}
and in the mysite/_config.php file:
Object::add_extension('Member', 'CommissionDescription');
Does this give some of you any clue on what might be going on?
Thanks in advance,
Maurice