Index: branches/5.0.x/core/units/helpers/category_helper.php =================================================================== diff -u -r12734 -r12877 --- branches/5.0.x/core/units/helpers/category_helper.php (.../category_helper.php) (revision 12734) +++ branches/5.0.x/core/units/helpers/category_helper.php (.../category_helper.php) (revision 12877) @@ -1,6 +1,6 @@ Application->GetVar('t'); $show_category = getArrayValue($params, 'show_category'); + $current_template = $this->Application->GetVar('t'); + $physical_template = array_search($current_template, $this->Application->structureTemplateMapping); + + if ($physical_template !== false) { + // replace menu template name with it's actual template name on disk + list ($current_template) = explode(':', $physical_template, 2); + } + foreach ($navigation_parts as $template => $title) { $block_params['template'] = $template;