Index: branches/5.0.x/core/units/helpers/menu_helper.php =================================================================== diff -u -r12885 -r12890 --- branches/5.0.x/core/units/helpers/menu_helper.php (.../menu_helper.php) (revision 12885) +++ branches/5.0.x/core/units/helpers/menu_helper.php (.../menu_helper.php) (revision 12890) @@ -1,5 +1,19 @@ Application->GetVar('m_lang'); $primary_language_id = $this->Application->GetDefaultLanguageId(); + $template = $this->Application->GetVar('t'); } $active = $category_active = false; @@ -175,6 +191,10 @@ if (array_key_exists($real_cat_id, $this->parentPaths)) { $active = strpos($this->parentPaths[$real_cat_id], $page['ParentPath']) !== false; } + elseif ($page['ItemPath'] == $template) { + // physical template in menu + $active = true; + } $category_active = $page['CategoryId'] == $real_cat_id; }