Skip to content

Commit

Permalink
[TASK] Add example for UserTS setup.default.moduleData
Browse files Browse the repository at this point in the history
  • Loading branch information
kitzberger committed Oct 19, 2023
1 parent 17f9acb commit 6f073a1
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions Documentation/UserTsconfig/Setup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,30 @@ setup.default.[someProperty]
existing users is by :guilabel:`Reset Backend User Preferences` in the
:guilabel:`Admin tools > Maintenance` section of the install tool.

.. code-block:: typoscript
:caption: EXT:site_package/Configuration/admin.tsconfig
[backend.user.isAdmin]
# Some settings an admin might find helpful
setup.default {
recursiveDelete = 1
copyLevels = 99
moduleData {
# Defaulting some options of the Template/TypoScript BE module
web_ts {
# Pre-select 'Object browser' instead of 'Constant editor'
function = TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateObjectBrowserModuleFunctionController
# Pre-select 'Setup' instead of 'Constants'
ts_browser_type = setup
# The other settings
ts_browser_const = subst
ts_browser_fixedLgd = 0
ts_browser_showComments = 1
}
}
}
[global]
setup.override.[someProperty]
This forces values for the properties of the list below, a user can not override these
setting in its :guilabel:`User settings` module. So, overriding values will be impossible for the
Expand Down

0 comments on commit 6f073a1

Please sign in to comment.