Hey guys, is it possible to set the mainTemplate that is used in a page controller function?
I tried using 'return $this->renderWidth("Ajax");' but to no avail. It just displays the Ajax.ss template as the $Layout for the standard mainTemplate (Page.ss).
I checked the core SSViwer.php code and saw a guard in there - so tried using '$this->renderWidth("Ajax.ss")' but it returns an error:
[Warning] filemtime() [function.filemtime]: stat failed for Ajax.ss
Can anyone help me? I'm truely stumped.
Cheers