mam w application/controllers/page.php
taki początek:
class Page_Controller extends Template_Controller { public $template = 'template/public';
i wewnątrz wywoływane podstrony np.:
public function rules(){ $this->template->title = "Regulamin"; $this->template->content = new View('rules'); } public function newsy(){ $this->template->title = "Newsy"; $this->template->content = new View('news'); }
jedna z tych podstron chciałbym aby miała inny wygląd czyli korzystała z
public $template = 'template/innywyglad';
jak zrobić, żeby TYLKO podstrona rules korzystała z $template = 'template/innywyglad'; a nie $template = 'template/public';