Single Page in a Package

Permalink
I can register a single page from my package using the SinglePage::add method in the package controller but i want to also provide a specific view for it. Can i do this?

Right now it is getting wrapped in the default theme. I have a single_pages directory in my package but that file is not being used.

argvader
 
kino replied on at Permalink Reply
kino
$page = SinglePage::add('pagename');
$pl = PageTheme::getByHandle('themename');
$page->setTheme($pl);
argvader replied on at Permalink Reply
argvader
Sorry i didnt reply but thanks for the quick reply :)
marzie replied on at Permalink Reply
marzie
Done thanx