Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Data Model Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

injecting a new method into SiteTree to add functionality to page_type_classes()??


Go to End


116 Views

Avatar
LiamC

Community Member, 2 Posts

2 October 2017 at 11:34pm

Morning, injecting a new method into SiteTree to add functionality to page_type_classes(). For some reason CMSMain::PageTypes() is now returning the name of the injector as the class name for all page types?