Feature #15232
closedTCAdefault.table.field as PageTS
0%
Description
Would be nice if TCAdefaults could be set on pagelevel (as page TS) and not only as user/usergroup TS as it is the case now.
(issue imported from #M1919)
Files
Updated by Marc Bastian Heinrichs over 18 years ago
This feature is also requested by me.
Updated by Wolfgang Klinger over 17 years ago
patch against the current trunk attached
Updated by Patrick Gaumond over 17 years ago
I've tried adding this in a page TSconfig:
$GLOBALS['TCA']['tt_content']['columns']['imagewidth']['config']['default']=111;
To put the value 111 pixels per default in Image/Text element and it doesn't work with the patch.
The same line is working if using typo3conf/extTables.php
Is it because it doesn't work with ['default'] ?
Updated by Wolfgang Klinger over 17 years ago
I don't know what your code has to do with "TypoScript" (TS)??,
so what this patch and this bugtracker entry is all about is TCAdefaults via page TS
as explained here:
http://typo3.org/documentation/document-library/references/doc_core_tsconfig/4.1.0/view/1/2/#id3822379
try it again like this (this time in the page TS field):
TCAdefaults.tt_content.imagewidth = 111
;-)