Menus not working in translated pages for type "shortcut"
After upgrade to version 4.6 in an old typo3 install we have been having problems with a translated site. The problem is some menus were not generated. After a deep search we found that it was only in the shortcut pages. We have seen the problem comes from the pageOverlayFields variable that comes by default in newer versions. Some of the fileds that weren't before are shortcut and shortcut_mode, and these seems to be the problem. We have deleted these fields in the install tool $TYPO3_CONF_VARS['FE']['pageOverlayFields'] and now it seems to be working perfectly.
The question is, why those fields are in the config_default file now and not where in the old versions, and are they really needed?
Updated by Gonçal Carrero over 10 years ago
Markus Klein wrote:
Those fields where added in February 2009 for TYPO3 4.3.
The reasons are available here: http://forge.typo3.org/issues/16935
Maybe the change for 4.6 how shortcuts are treated causes this behavior.
Ok, I understand. I've come back to see what was happening to the alternative page language. What I've seen is that when you come from an update from an old typo3 and the page is a shortcut, in the alternative page language the page type is still standard page.
May be the upgrade wizard must solve this incongruence or in any case advert for this.
Updated by Ernesto Baschny over 10 years ago
- Category set to Frontend
- Status changed from New to Accepted
- Complexity set to medium
As mentioned already in the (now closed duplicate) #33333:
How to reproduce in the intro-package:
- Unter "Examples > Language" create 2 pages "Page 1" and "Page 2"
- Make "Page 1" a shortcut to "Page 2"
- Create translation pages for both pages (Dansk)
- Go to the frontend to the "Examples > Any language" Page
- See both sub-pages are correctly linked
- Switch to "Dansk": First page is not linked correctly anymore (starting with TYPO3 4.6)
Strange enough, this is not a problem in current master (future 4.7) anymore, so somehow it got fixed, but I could localize the fix yet. So it a 4.6 only problem currently.
Updated by Joachim King over 9 years ago
I seem to have the same bug in a 6.0.4 project (new site, no update). Can someone confirm the bug in 6.0?
Shortcut pages don't get linked in menue. The solution was to remove "shortcut" and "shortcut_mode" from $TYPO3_CONF_VARS['FE']['pageOverlayFields']. Thanks @ Goncal!
Updated by Roman Eberle about 8 years ago
bug confirmed for 6.1.8
...well - bug or feature? lol
I consider it a bug:
translation of shortcut should be created as shortcut with same shortcut-mode/-target (by default)
not a bug:
you may still switch settings in translated record (in other words: keep "shortcut" and "shortcut_mode" in $TYPO3_CONF_VARS['FE']['pageOverlayFields'])
(hi JKI :-))
Updated by Alexander Opitz over 7 years ago
- Status changed from Needs Feedback to Closed
No feedback within the last 90 days => closing this issue.
If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.