Feature #98191
openAdd mod.web_list.table.[tableName].deniedNew
0%
Description
Hi,
It would be great if deniedNew could be added to mod.web_list.table.[tableName].
This would make it easier to fine tune what is shown to the user in different sections of the page tree.
I would like to hide all tables for my extension by default and override this setting if needed.
But with mod.web_list.deniedNewTables this is no easy task because is just a string.
It is also kinda possible with be groups but I would like to have this kind of settings in git as a file.
Thanks
Updated by Oliver Hader almost 2 years ago
- Status changed from New to Needs Feedback
What about using addToList
or removeFromList
modifiers?
(see https://docs.typo3.org/m/typo3/reference-coreapi/10.4/en-us/Configuration/TypoScriptSyntax/Syntax/TypoScriptSyntax.html#value-modifications-the-operator)
mod.web_list.deniedNewTables := addToList(tx_extension_first_table)
Updated by JAKOTA Design Group GmbH almost 2 years ago
Thank you for that.
I somehow overlooked those modifiers.
Maybe it would be a good idea to add a note here?
https://docs.typo3.org/m/typo3/reference-tsconfig/main/en-us/PageTsconfig/Mod.html#pagetsconfigweblistallowednewtables
But anyway, this works as expected.
Thanks again
Updated by JAKOTA Design Group GmbH almost 2 years ago
Quick side note, this only works if no other ext overrides the deniedNewTables just by setting it.
Something like mod.web_list.table.[tableName].deniedNew would still be a better way.
Updated by Gerrit Code Review over 1 year ago
- Status changed from Needs Feedback to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/78164
Updated by JAKOTA Design Group GmbH over 1 year ago
- Category set to TypoScript
- Target version set to 12.3
Updated by Gerrit Code Review over 1 year ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/78164
Updated by Benni Mack over 1 year ago
- Target version changed from 12.3 to 12 LTS
Updated by Benni Mack over 1 year ago
- Target version changed from 12 LTS to Candidate for Major Version