Index: branches/5.0.x/core/units/helpers/category_helper.php =================================================================== diff -u -r12306 -r12446 --- branches/5.0.x/core/units/helpers/category_helper.php (.../category_helper.php) (revision 12306) +++ branches/5.0.x/core/units/helpers/category_helper.php (.../category_helper.php) (revision 12446) @@ -1,6 +1,6 @@ Application->GetVar('m_cat_id'); - $home_element = $this->getHomeCategoryPath($params, $main_category_id); + if (array_key_exists('shift', $params) && $params['shift']) { + $home_element = ''; + $params['shift']--; + } + else { + $home_element = $this->getHomeCategoryPath($params, $main_category_id); + } + if (!getArrayValue($params, 'titles') && !getArrayValue($params, 'templates')) { // no static templates given, show only category path return $home_element . $this->getCategoryPath($main_category_id, $params); @@ -128,6 +135,10 @@ return ''; } + if (array_key_exists('shift', $params) && $params['shift']) { + array_splice($category_path, 0, $params['shift']); + } + $module_info = $this->getCategoryModule($params, array_keys($category_path)); $module_category_id = $module_info['RootCat'];