Project

General

Profile

Actions

Feature #19585

closed

Write Configuration to extTables.php

Added by Steffen Kamper over 15 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2008-11-10
Due date:
% Done:

0%

Estimated time:
PHP Version:
5.3
Tags:
Complexity:
Sprint Focus:

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

writeValue1.png (8.21 KB) writeValue1.png Administrator Admin, 2008-11-10 00:52
writeValue2.png (8.82 KB) writeValue2.png Administrator Admin, 2008-11-10 00:53
9758.diff (2.75 KB) 9758.diff Administrator Admin, 2008-11-10 01:04
9758_v2.diff (2.99 KB) 9758_v2.diff Administrator Admin, 2008-11-10 11:02

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #22558: Writing configuration to extTables.php for $TBE_STYLES does not workClosed2010-04-30

Actions
Related to TYPO3 Core - Bug #22559: wrong behaviour with t3lib_arrayBrowser and Configuration ModuleRejected2010-04-30

Actions
Actions #1

Updated by Michael Stucki over 15 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...

Actions #2

Updated by Steffen Kamper over 15 years ago

The extTables is included in localconf by default in the dummy package for 4.x
It was not in the past.

Actions #3

Updated by Michael Stucki over 15 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

Actions #4

Updated by Steffen Kamper over 15 years ago

yes, that's reasonable. I still wait for the discussion in core list as the opinions are different on this issue.

Actions #5

Updated by Steffen Kamper about 14 years ago

Committed v4 to trunk rev 7462

Actions #6

Updated by Susanne Moog about 13 years ago

  • Target version deleted (4.4.0)
Actions

Also available in: Atom PDF