Bug #84511
closedTranslated shortcut to shortcut isn't linked in HMENU
0%
Description
One of our customers has a HMENU which contains a shortcut, which points to another shortcut, which points to a page. Both shortcuts and the page are available in two languages. In the default language, the shortcut (which points to the other shortcut) is correctly linked to the page. In the alternative language however, the shortcut to shortcut isn't linked (no A tag), while the 'direct' shortcut is.
To reproduce the problem, add the following Setup to an empty CMS8 installation:
page = PAGE
page.10 = HMENU
page.10 {
1 = TMENU
1 {
expAll = 1
NO {
wrapItemAndSub = <div>|</div>
}
}
}
[globalVar = GP:L = 1]
config {
language = nl
sys_language_uid = 1
}
[end]
Add an extra website language and create 1 page in the website. Make sure there's also a translated version of this page available. Add a shortcut to this page on the same level in the tree and translate this shortcut. Now, create a shortcut to the shortcut and translate it.
When you open the website in the default language, you'll now see a menu with 3 working links. In the alternative language however, the shortcut to shortcut isn't linked.