Actions
Bug #75014
closedl18n_cfg not respected in fluid_styled_contents of type special menu
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Fluid Styled Content
Target version:
Start date:
2016-03-10
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Stabilization Sprint
Description
The result
Pages in default location are shown in menus, even if they should not.
How to reproduce
Create a page in default language, select option "Hide default translation of page" under "Behaviour".
Create a content element of kind "special menus" and select the created page. Create the element in default language.
The page will be shown and link is broken as page should not be visible because it's not available in default language.
https://docs.typo3.org/typo3cms/FrontendLocalizationGuide/BasicSetupOfALocalizedWebsite/LocalizationOverviewOfThePageTree/Index.html#hiding-default-translation-of-pages
For our own implementation we had to add the following SQL to fix the issue:
if ($this->arguments[static::ARGUMENT_TABLE] === 'pages') { $where .= ' AND pages.l18n_cfg != 1'; }
Actions