Permalink
Browse files

using GridPage::CMSTemplateAbsFile() to allow specifying a cms templa…

…te different to frontend
  • Loading branch information...
icecaster committed Jan 19, 2012
1 parent 662d9a6 commit 753208002affe99f3319a8f11323ada208236ffb
Showing with 2 additions and 1 deletion.
  1. +2 −1 code/Admin/SlotManager.php
@@ -47,7 +47,8 @@ public function Slot($Name) {
function Template() {
- if($TemplateFile = $this->controller->TemplateAbsFile()) {
+ if($TemplateFile = $this->controller->CMSTemplateAbsFile()) {
+ echo $TemplateFile;
$contents = file_get_contents($TemplateFile);
$Template = new SSViewer_FromString($contents);
return $this->renderWith($Template);

0 comments on commit 7532080

Please sign in to comment.