[Typo3-dev] TCA and Custom Softrefs

Jeff Segars jsegars at alumni.rice.edu
Tue Oct 4 17:59:42 CEST 2005


I'm currently working on an extension that builds on the Import/Export 
Wizard by using custom softrefs and a simpler import interface.

I've written a custom softref parser, but my question is how to make it 
be called during an export from the Import/Export Wizard.

Within tx_impexp->getRelations(), the TCA for the current field is 
loaded to determine which softref parsers to use.  For a field like 
bodytext, the default configuration is...
[softref]=typolink_tag,images,email[subst],url

I know I can manually add the key for my softref parser to each field in 
order to have the parser called.  Likewise, I can edit the code in 
tx_impexp->getRelations() to append my key to whatever the TCA already 
contains, but neither of these options seem like very clean solutions.

Is there some better way that I can force my key to be added to the 
softref list for every TCA field?

Thanks,
Jeff Segars




More information about the TYPO3-dev mailing list