Issue Bug Closed

#17635subpages l18n_cfg is ignored in JSMENU

Jens Köster 09/28/07, 11:30 updated 05/01/13, 13:40

Description

Create a JMENU like

lib.jsmenutest = HMENU
lib.jsmenutest {
1=JSMENU
1 {
menuName = test
levels = 3
}
}

and page tree like
>page1
>>page1.1
>>page1.2
>page2

Set “Hide page if no translation for current language exists” on page1.2 and page2.
Create page translations for page1 and page1.1.
In the Frontend switch to a nonstandard language.
On the first level everythings is ok (page1 displayed, page2 hided). On the second level page1.2 is displayed allthough it should not.

All menu items are generated by (class.tslib_menu.php, line 2768):

$menuItems = is_array($menuItemArray) ? $menuItemArray : $this->sys_page->getMenu($pid);

$this->sys_page->getMenu($pid) does not take the l18n_cfg configuration into account.
(issue imported from #M6414)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.