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.

General Questions

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

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

Page Type Inheritance Wierdness 3.1


Reply

257 Views

Avatar
tazzydemon

24 August 2013 at 10:54am Community Member, 122 Posts

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

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.