Skip to content

Commit

Permalink
[TASK] Add example for UserTS setup.default.moduleData (#389)
Browse files Browse the repository at this point in the history
Co-authored-by: Philipp Kitzberger <coding@kitze.net>
  • Loading branch information
github-actions[bot] and kitzberger committed Oct 20, 2023
1 parent fe58b51 commit c10f207
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 c10f207

Please sign in to comment.