Index: units/categories/categories_event_handler.php =================================================================== --- units/categories/categories_event_handler.php (revision 15231) +++ units/categories/categories_event_handler.php (working copy) @@ -1628,6 +1628,14 @@ } // replace alias in form #alias_name# to actual template used in this theme + if ( $this->Application->isAdmin ) { + $themes_helper = $this->Application->recallObject('ThemesHelper'); + /* @var $themes_helper kThemesHelper */ + + // only, used when in "Design Mode" + $this->Application->SetVar('theme.current_id', $themes_helper->getCurrentThemeId()); + } + $theme = $this->Application->recallObject('theme.current'); /* @var $theme kDBItem */