[TYPO3-dev] Advises needed about tt_content TCA

Pierre Rouwens prouwens at infoglobe.ca
Fri Jan 13 16:41:02 CET 2006


Pierre Rouwens a écrit :
> Elmar Hinz a écrit :
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Pierre Rouwens schrieb:
>>> Hi there,
>>>
>>> I need to modify the tt_content TCA, but on different way depends on
>>> which page i am...
>>> For example in the home page : i need to add a column and change column
>>> names. For the others pages, changing the name of columns on different
>>> way from the home page.
>>>
>>> Thanks in advance for any suggestions.
>>>
>>> Pierre
>>
>>
>> Hi Pierre,
>>
>> (well your topic should tell about the content ...)
>>
>> I assume you ask for the BE. My ideas ....
>>
>> * make an empty plugin with kickstarter
>> * edit ext_tables.php
>> * load the TCA for tt_content
>> * now you have array available to modify
>> * find an appropriate if condition for the page
>> * modify TCA only under this condition
>> * post solution to the thread
>>
>> Regards
>>
>> Elmar
>>
>>
>>
>>
>>
>>
>>
>>
>> - --
>> Climate change 2006 is killing people: floods in California, drought 
>> and fires
>> in Australia, Texas, Sahel, Oklahoma, South Africa. The Bush 
>> administration is
>> responsible for corruption of the Kyoto Protocol. The US majority is 
>> responsible
>> to the world for reelection of a convictable [...censored by Echelon...].
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.1 (GNU/Linux)
>> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>>
>> iD8DBQFDx8P9O976RNoy/18RAnOmAKDLQgJWejOCEx2CzeNqPzbgASg2GQCfcxnM
>> ieLuemjBFEjxyuJ5cYnmxX4=
>> =ByH9
>> -----END PGP SIGNATURE-----
> 
> Hi Elmar,
> 
> I've started it this way, but i don't see how i can play with page 
> condition as i ask to TYPO3 to add my TCA modifications.
> 
> Pierre
Ahhh maybe directly in PHP not in typoscript ? exact ?

Pierre




More information about the TYPO3-dev mailing list