Hi,
Perhaps I'm missing something obvious, but I'm trying to extend a Controller class that extends Page_Controller. So for example
Class ForumHolder_Controller extends Page_Controller{
function init(){
parent::init();
}
}
and then I have:
class ForumHolderExtension_Controller extends ForumHolder_Controller{
function init(){
parent::init();
Requirements::CSS('themes/'. SSViewer::current_theme() .'/css/test.css');
}
}
my test.css will not be included on the page. Is this possible?
In the end what I am trying to accomplish is in my ForumHolderExtension_Controller I want to add some Permission:: checks to the init function. Is there an alternative approach to solving this?
Thank you.