Bug #17635
closedsubpages l18n_cfg is ignored in JSMENU
0%
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.2page2
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)
Files
Updated by Stefan Galinski almost 13 years ago
- Category deleted (
Communication) - Status changed from New to Needs Feedback
- Target version deleted (
0)
Has issue #19925 solved this issue? The patch is currently only available in Git until the next versions (4.6 / 4.7) are released.
Updated by Alexander Opitz over 11 years ago
- Status changed from Needs Feedback to Closed
No response over one year => closed.