[TYPO3-core] Re(2): New hook in tslib_CONTENT. Was:CVSPatchrequest.Dmail boundaries

Jan-Erik Revsbech (MOC) jer at moccompany.com
Fri Jan 27 14:34:18 CET 2006


OK, the patch is now commited.

Regards
Jan-Erik 

> -----Oprindelig meddelelse-----
> Fra: typo3-team-core-bounces at lists.netfielders.de 
> [mailto:typo3-team-core-bounces at lists.netfielders.de] På 
> vegne af Martin Kutschker
> Sendt: 27. januar 2006 11:21
> Til: TYPO3 core team
> Emne: [TYPO3-core] Re(2): New hook in tslib_CONTENT. 
> Was:CVSPatchrequest.Dmail boundaries
> 
> "Jan-Erik Revsbech (MOC)" <jer at moccompany.com> writes on Fri, 
> 27 Jan 2006 11:14:34 +0100 (MET):
> 
> > 
> > > 
> > > 
> > > The hook functions are called in a loop, but each called 
> functions 
> > > starts with the original parameters and overwrites the result of 
> > > prior functions.
> > > 
> > > Either allow only one function (no hook array) or devise a 
> > > meaningful method of changing the value.
> > > 
> > > I suggest you simply move the "'value' => $tmpValue" into 
> the loop. 
> > > So each hook function can either append, prepend or overwrite the 
> > > value.
> > > 
> > > Masi
> > 
> > Agreed, attached is a patch (again from Thorsten Kahler) that fixes 
> > this.
> 
> 
> Ah, a reference - how very un-TYPO3 ;-)
> 
> +1
> 
> Masi
> _______________________________________________
> TYPO3-team-core mailing list
> TYPO3-team-core at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-team-core
> 



More information about the TYPO3-team-core mailing list