@medelsvensson said: Where would I add that code? The: $this->MasterView = 'your-view';
look in plugins/CustomPages/default.php
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
if you get to the defaults.php
// Use the default css if not viewing admin master if ($MasterView != 'admin') { $Sender->ClearCssFiles(); $Sender->AddCssFile('style.css'); } else { $Sender->AddSideMenu('plugin/page/default/admin'); } switch ($Page) { case 'home': $Sender->MasterView = 'front'; break; default: $Sender->MasterView = $MasterView; break; } $Sender->Render($Path.$Page.'.php');
You can just use a switch case to select your custom view. my page here is called home.php and the view front.master.tpl
Comments
look in
plugins/CustomPages/default.php
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
if you get to the defaults.php
You can just use a switch case to select your custom view. my page here is called home.php and the view front.master.tpl