Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport 12.4] [TASK] Add example for UserTS setup.default.moduleData #389

Merged
merged 1 commit into from
Oct 20, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading