deane.barker Posted November 8, 2012 Share Posted November 8, 2012 I see the pageClass property of Template, and I see how both Pages and PagesType support using it to instantiate objects, but I don't see where it's managable in the UI. Am I missing it, or do I need to add it myself to the admin UI module? Link to comment Share on other sites More sharing options...
deane.barker Posted November 9, 2012 Author Share Posted November 9, 2012 I found the $this->config->advanced line, but can't figure out where to set that intelligently. I'm setting it in init right now, and that shows the System tab, but I realize there's likely a more intelligent way to show this. Link to comment Share on other sites More sharing options...
ryan Posted November 9, 2012 Share Posted November 9, 2012 This is where it's usually set: /site/config.php - most of these options are meant for system/core development (some not that safe for everyday), so remember to turn it back off when done. For the most part I prefer to extend Page via autoload modules or delegation rather than by inheritance, but the pageClass option is there when you need to enforce a type derived from Page. Examples are User, Role, Permission types. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now