[TYPO3-dev] new content element in new table?

Thomas Mammitzsch typo at pure.kicks-ass.net
Thu May 10 11:51:49 CEST 2007


Dmitry Dulepov wrote:
> Thomas Mammitzsch wrote:
>> is it possible to create a new content element like:
>>
>> t3lib_extMgm::addPlugin(array('LLL:EXT:user_myext/locallang_db.xml:tt_content.CType_pi1',
>>
>> $_EXTKEY.'_pi1'),'CType');
>>
>> but not to write to the tt_content-table but an own new table?
>> And of course to do so, show the Fields of the new table in TCE-Forms to
>> fill them? To me it seems its only possible to write the content of a
>> new content element to the tt_content-table.
> 
> Read about "user" fields in core api doc. This may give you an idea.
> 
ok, thank you, nice tip. i hoped there is a simpler way than render the
whole form and html with an own function. some threads before i thought
i can use the tt_content-table and just modify the config of the columns
in $TCA, but i didn't find out how to change it for my content element
without changing all the other content elements. I'm wondering that only
so a few people seem to work in that direction.




More information about the TYPO3-dev mailing list