Feature #19585
closed
Write Configuration to extTables.php
Added by Steffen Kamper over 15 years ago.
Updated about 13 years ago.
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
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...
The extTables is included in localconf by default in the dummy package for 4.x
It was not in the past.
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
yes, that's reasonable. I still wait for the discussion in core list as the opinions are different on this issue.
Committed v4 to trunk rev 7462
- Target version deleted (
4.4.0)
Also available in: Atom
PDF