[TYPO3-english] Extending another extension's form - with a flexform

Francois Suter fsuter at cobweb.ch
Fri Dec 5 17:33:24 CET 2008

Hi Stephen,

> Ok. I have added a flexform to tt_news with my own extension. My extension
> adds additional markers and adds a new display type too.
> We have added other extension that also extend tt_news. The relations tab in
> a tt_news article is looking messy and long now. Is it possible to create a
> new tab after relations? where I can add my flexform and any other fields
> that I add to tt_news records? Without editing tt_news? Is that possible?

By default any new field added to a record will be appended. If that 
record is displayed using tabs, the news fields will appear in the last tab.

It is perfectly possible to create a new tab and put your own stuff 
there. It is also possible to put new fields before or after any 
existing field.

Check out all the properties of method t3lib_extMgm::addToAllTCAtypes(). 
A pretty complete example of use can be found, for example, in the 
ext_tables.php file of extension RealURL.

If you want to create a new tab, just add "--div--" in front of the 
fields you want to add in the call to t3lib_extMgm::addToAllTCAtypes().

More information in the Core APIs documentation [1].



Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch


More information about the TYPO3-english mailing list