[TYPO3-core] RFC: new function loadTcaAdditions in t3lib_div

Franz Holzinger franz at fholzinger.com
Wed Oct 11 15:36:36 CEST 2006


This is a SVN patch request. 

Type: 
library enhancement

Branches: 
4.x,trunk

User writes: 
When someone writes an extension of an extension e.g. using XCLASS then
the extending TCA fields to the original table are not used. Someone
would have to call tslib_fe::includeTCA(); but this would include all
possible TCA files when only one additional was needed.

Solution: 
Add a new function to t3lib_div which loads the extending TCA files
(ext_tables.php) of the extensions given as parameter array.
This code has been provided by Vikram Mandal.

Test:
This function has been used successfully within tt_products since many
months. It is needed for the next version 2.0.1 of static_info_tables
and its translation extensions which I want to upload asap.
(http://fholzinger.com/index.php?id=170)

See also:

developer list: 
RFC: sql where clauses in API for static_info_tables

extension coordination list:
mergeExtendingTCAs

tt_products list:
Problem extending tt_products

extension tx_div:
latest version


Greets,

Franz







-------------- next part --------------
A non-text attachment was scrubbed...
Name: class.t3lib_div.diff
Type: text/x-patch
Size: 1188 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20061011/51d5c51f/attachment.bin 


More information about the TYPO3-team-core mailing list