[Typo3-dev] [TYPO3] Do you think too many wrap in typoscript template?

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Thu Dec 22 12:34:07 CET 2005


Dennis Cheung schrieb:
> Hi all,
> 
> There are too many differenet warp in TS.

Yes and no. The way TS evolved it was probably easier to add more wraps 
whenever the need arose than to make other changes.

Instead of multiple named stdWraps eg all objects could have a SWA 
(stdWrapArray) which could be used like this:

x = TEXT
x.wraps.10.data = ...
x.wraps.20.case = ...
...
x.wraps.90.append = IMAGE

Masi




More information about the TYPO3-dev mailing list