Hello,
I am trying to override a function in the LeftAndMain class in the 'cms' module.
I have put the following in mysite/_config.php
Object::useCustomClass('LeftAndMain', 'CustomLeftAndMain');
I have extended the LeftAndMain class in CustomLeftAndMain class and have overridden the getSiteTreeFor() function but it has no effect.
Any help would be greatly appreciated.
Thanks!
Brian Sohn