Project

General

Profile

Actions

Bug #84511

closed

Translated shortcut to shortcut isn't linked in HMENU

Added by Frank Baak about 6 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2018-03-21
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
On Location Sprint

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.

Actions

Also available in: Atom PDF