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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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


485 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?