[TYPO3-core] RFC: New hook in t3lib_tceforms

Michael Stucki michael at typo3.org
Thu Jan 26 16:39:38 CET 2006


Hi Martin,

>> > I do not think the $TCA is needed and should be used as a
>> > parameter.
>> 
>> The "dynaflex" extension is used to change TCA dynamically. Therefore
>> I'm pretty sure that this hook must stay AFTER $TCA was loaded.
> 
> But why pass a global variable as reference? If dynaflex wants to modify
> the TCA use $GLOBALS['TCA']. If not, TCA should not be passed as a
> reference.

You are right, I've finally seen the point and asked Thomas to write a new
patch. He was pretty fast and returned it two hours before(!) I asked him
to do so ;-)

The patch is attached.

- michael
-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug_1746_v2.diff
Type: text/x-diff
Size: 1668 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060126/dc3b8943/attachment.bin 


More information about the TYPO3-team-core mailing list