Feature #19585
closedWrite Configuration to extTables.php
0%
Description
in Configuration module you can view the TCA-array. By clicking on a property you get an input field with the complete line.
You will see a message:
(Now, copy/paste this value into the configuration file where you can set it. This is all you can do from here...)
Not any longer :-)
I added a few lines so it's possible to change the line and write it direct to extTables.php. As this script is enabled by default, you don't need any more now.
Attached are also screenshots how this look.
(issue imported from #M9758)
Files
Updated by Michael Stucki over 16 years ago
Please write "write" with an upper-case "w" (start of string) and refer to "typo3conf/extTables.php" instead of "extTables.php".
Are you sure the file is enabled automatically? Maybe I missed this...
Updated by Steffen Kamper over 16 years ago
The extTables is included in localconf by default in the dummy package for 4.x
It was not in the past.
Updated by Michael Stucki over 16 years ago
Yeah but what if it is still disabled, or if someone uses a past dummy package and always just upgraded the source package? Could well be...
Please think about the following:
- If "$typo_db_extTableDef_script" is not set, it will default to "typo3conf/extTables.php"
- Your write operation considers the value even if it points to a different path
- Alternative: Do not show the write button if the variable is not set
Updated by Steffen Kamper over 16 years ago
yes, that's reasonable. I still wait for the discussion in core list as the opinions are different on this issue.