Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Commit

Permalink
[TASK] Add example for UserTS setup.default.moduleData (#387)
Browse files Browse the repository at this point in the history
  • Loading branch information
kitzberger authored Oct 20, 2023
1 parent 17f9acb commit ba77b2d
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/user.tsconfig
[backend.user.isAdmin]
# Some settings an administrator might find helpful
setup.default {
recursiveDelete = 1
copyLevels = 99
moduleData {
# Defaulting some options of the Template/TypoScript backend 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
}
}
}
[END]
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 ba77b2d

Please sign in to comment.