[Typo3-dev] Renaming the CODE (select_key) depending of the selected list_type

Mathias Schreiber [wmdb] mathias.schreiber at wmdb.de
Tue Aug 16 13:27:39 CEST 2005


tapio wrote:
> Mathias Schreiber [wmdb] wrote:
> 
>> Hi guys,
>>
>> I would like to redefine TCA values in dependence of the selected 
>> plugin (list_type).
>> I know I can use 
>> $TCA["tt_content"]["types"]["list"]["subtypes_addlist"] for adding 
>> fields but I would like to circle around the need to add a new field 
>> to the database.
>>
>> Hints appreciated.
>>
>> mathias
>>
> 
> You need to create an extension to add new fields to database OR
> 
> 1) edit the tables.sql-file and add a new field
> 
> 2) uninstall the plugins
> 
> 3) reinstall the plugin - now the plugins takes into use the extra field 
> you created to the SQL-file.
> 
> Simple!

"but I would like to circle around the need to add a new field to the 
database"

That's what I tired to avoid as stated in my post


-- 
if ($GLOBALS['TSFE']->fe_user->user['ahnung'] == 0) {
	$this->fresseHalten = 1;
}




More information about the TYPO3-dev mailing list