[Typo3-dev] Order of stdWraps
Ingmar Schlecht
ingmars at web.de
Thu Mar 31 16:07:32 CEST 2005
Michael Stucki a écrit:
> - How do you handle this? (I hate to nest cObjects only for this)
I think making stdWrap recursive would be the solution!
Right after the line
if ($conf['trim']){$content=trim($content);}
you could instert the following:
if ($conf['stdWrap'])
{$content=$this->stdWrap($content,$conf['stdWrap.']);}
> - Should we think about the order of these statements?
Because of backwards compatibility I'd never change stdWrap order.
> - In this special case: Is there any reason for not moving "crop" right
> before "splitChar"?
(I guess you mean "listNum" and not "splitChar".)
Of course there is! I think it's even more likely that one wants to crop
only one part returned by listNum than the way you would like it to act.
cheers,
Ingmar
More information about the TYPO3-dev
mailing list