Repository navigation
[FEATURE] Document static user TSconfig for backend users and groups #2005
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
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
bd00339
[FEATURE] Document static user TSconfig for backend users and groups
linawolf aa23c3c
[TASK] Show the Include static TSconfig field in the user screenshot
linawolf c1a65be
[TASK] Mention that commas are removed from a static TSconfig path
linawolf e733f2a
[TASK] Declare strict types in the static user TSconfig snippets
linawolf 1de8dfd
[TASK] Generate the user screenshot with the Include static TSconfig …
linawolf File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
Documentation/CodeSnippets/my_extension/Configuration/TCA/Overrides/be_users.php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| <?php | ||
|
|
||
| declare(strict_types=1); | ||
|
|
||
| use TYPO3\CMS\Core\Utility\ExtensionManagementUtility; | ||
|
|
||
| defined('TYPO3') or die(); | ||
|
|
||
| // A static user TSconfig file, offered in the field "Include static | ||
| // TSconfig" of a backend user | ||
| ExtensionManagementUtility::registerUserTSConfigFile( | ||
| 'my_extension', | ||
| 'Configuration/TsConfig/User/editor.tsconfig', | ||
| 'Editor', | ||
| ); |
1 change: 1 addition & 0 deletions
1
Documentation/CodeSnippets/my_extension/Configuration/TsConfig/User/editor.tsconfig
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| options.pageTree.showPageIdWithTitle = 1 |
Binary file modified
BIN
+16.3 KB
(320%)
Documentation/Images/GeneratedScreenshots/BackendUsers/TSconfigUserInput.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
Documentation/UsingSettingTSconfig/_UserTSconfig/_be_groups.php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| <?php | ||
|
|
||
| declare(strict_types=1); | ||
|
|
||
| use TYPO3\CMS\Core\Utility\ExtensionManagementUtility; | ||
|
|
||
| ExtensionManagementUtility::registerUserGroupTSConfigFile( | ||
| 'my_sitepackage', | ||
|
linawolf marked this conversation as resolved.
|
||
| 'Configuration/TsConfig/User/news_editors.tsconfig', | ||
|
linawolf marked this conversation as resolved.
|
||
| 'News editors', | ||
| ); | ||
11 changes: 11 additions & 0 deletions
11
Documentation/UsingSettingTSconfig/_UserTSconfig/_be_users.php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| <?php | ||
|
|
||
|
linawolf marked this conversation as resolved.
|
||
| declare(strict_types=1); | ||
|
|
||
| use TYPO3\CMS\Core\Utility\ExtensionManagementUtility; | ||
|
|
||
| ExtensionManagementUtility::registerUserTSConfigFile( | ||
| 'my_sitepackage', | ||
|
linawolf marked this conversation as resolved.
|
||
| 'Configuration/TsConfig/User/editor.tsconfig', | ||
|
linawolf marked this conversation as resolved.
|
||
| 'Editor', | ||
| ); | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.