diff --git a/lib/templating/kt3template.inc.php b/lib/templating/kt3template.inc.php index 89b2633..50a6680 100644 --- a/lib/templating/kt3template.inc.php +++ b/lib/templating/kt3template.inc.php @@ -43,6 +43,8 @@ class KTPage { /** $contents is the center of the page. In KT < 3, this was CentralPayload. */ var $contents = ''; + + var $template = "kt3/standard_page"; /* further initialisation */ function KTPage() { @@ -233,7 +235,7 @@ class KTPage { } $oTemplating = new KTTemplating; - $oTemplate = $oTemplating->loadTemplate("kt3/standard_page"); + $oTemplate = $oTemplating->loadTemplate($this->template); $aTemplateData = array( "page" => $this, );