Index: branches/RC/core/units/general/helpers/template_helper.php =================================================================== diff -u -N -r11661 -r11682 --- branches/RC/core/units/general/helpers/template_helper.php (.../template_helper.php) (revision 11661) +++ branches/RC/core/units/general/helpers/template_helper.php (.../template_helper.php) (revision 11682) @@ -74,7 +74,7 @@ $cms_handler =& $this->Application->recallObject('st_EventHandler'); /* @var $cms_handler StructureEventHandler */ - $t = $cms_handler->GetDesignTemplate($t); + $t = ltrim($cms_handler->GetDesignTemplate($t), '/'); } $this->_sourceTemplate = $t; @@ -111,7 +111,7 @@ $this->_getSourceTemplate(); // design templates have leading "/" in the beginning - $this->Application->Parser->Run(ltrim($this->_sourceTemplate, '/') . $append); + $this->Application->Parser->Run($this->_sourceTemplate . $append); // 3. restore original error handler $this->Application->errorHandlers = $error_handlers;