#103627options.hideModules does not seem to work
Description
I am working on the Documentation of https://github.com/TYPO3-Documentation/Changelog-To-Doc/issues/3
I tried the migration from
- before
mod.web_info.menu.function.TYPO3\CMS\Info\Controller\TranslationStatusController = 0
- after
options.hideModules := addToList(web_info_translations)
In several projects but could not get it working.
Also `options.hideModules := addToList(web_typoscript_analyzer)` does not seem to work either.
Reviews 2
History 47
-
Stefan Bürk commented 04/14/24, 16:35
-
Lina Wolf commented 04/14/24, 16:45
You are right Stefan, it works when you add it to the user TSconfig.
The migration path is counter-intuitive then as the code that was replaced used to be situated in the page TSconfig. Now the question is weather the Documentation or the implementation is correct here. Let us wait for what oli says.
Related:
https://github.com/TYPO3-Documentation/TYPO3CMS-Reference-TSconfig/pull/463
https://github.com/TYPO3-Documentation/TYPO3CMS-Reference-TSconfig/pull/462 -
Gerrit Code Review pushed patch set 1 for main to change 83812 status
NewUnder Review 04/15/24, 21:49 -
Gerrit Code Review pushed patch set 2 for main to change 83812 04/16/24, 04:03
-
Gerrit Code Review pushed patch set 1 for 12.4 to change 83852 04/16/24, 05:21
-
Oliver Bartsch commented and changed status
Under ReviewResolved done0 %100 % 04/16/24, 05:25Applied in changeset commit:e15c44ee659f0491253a4be2b5c31b02069ececc.
-
Benni Mack changed status
ResolvedClosed 07/09/24, 15:38
You missed to descriped where you added the TSConfig setting. I assume
you tried to use PageTSConfig, but the point is that it must be user
based `UserTSConfig`.
You could add it for all users within a extension (sitepackage)
@ext_localconf.php@ using
or setting it as TSConfig setting for a backend group (
be_groups) orbackend user (
be_users)I also flushed all caches, so not sure if it works without it. However,
using one of these variants worked for me (if the user is in the be group
or the user having that snippet if not all users have been disabled).