#40647Typo3 creates menu without href attribut inside the a tag
Description
Pages that are created as shortcuts (first subpage) fail to get an href attribute in second language.
This only happens for the second language and shortcut pages. example: Portfolio
I researched a bit in the code and found out that class ‘class.tslib_menu.php’ throws an exception on line 1173. Because the shortcut-mode-value is zero.
If the same link is generated within the default language the shortcut-mode-value is 1. And the href attribute is added to the a-tag.
I think it is a problem of the shortcut-mode value in the menuArr-Array inside this class.
I fixed this for my case as quick and dirty to force shortcut-mode value to 1
@
// CHANGED BY ME
if ($this->menuArr[$key][‘shortcut_mode’] == 0) {$this->menuArr[$key][‘shortcut_mode’] = 1;}
@
The problem appears in Version 4.7.4 and also in version 4.6.x
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.