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.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page Type Inheritance Wierdness 3.1


Go to End


682 Views

Avatar
tazzydemon

Community Member, 135 Posts

24 August 2013 at 10:54am

In reference to my post http://www.silverstripe.org/general-questions/show/24841

I have discovered that if one abstracts a Page type one removed from Page.php, say

CustomerHub.php extends OrbitPage.php which in turn extends Page.php then the resultant page type list has two entries for Orbit and none for CustomerHub

It would appear that this is not allowed. Is is by design or is it an issue?

I also noted that in this case the customer hub page merely contained a controller and thus never existed so to speak until I put some junk data into it. I realise that this is a known fact. Just pointing it out.