[TYPO3-ect] Improvement of the template engine

Ernesto Baschny [cron IT] ernst at cron-it.de
Fri Jan 27 12:31:52 CET 2006


Elmar Hinz schrieb am 27.01.2006 12:05:

>>>That's exactly the point! That would be very nice. That's the only *real
>>>serious* problem one is running into now. ;(
>>>
>>>suggestions/ideas on improving that would be very cool. :->

> A COA can contain child objects. Is that a starting point for a solution?

Not really, because imagine you will want the cObject processor to get
the array, and not have TypoScript render the array beforehand.

Imagine I have an array of rows that I would like rendered as a table.

If I'm using Smarty, I would use one template with {section} and
{foreach}. Using HTML-templates requires several Subparts and maybe a
Wrap around them. Rendering this with regular cObjects is not really
possible yet, as far as I can see, because tslib_cObj is not able to
work with such data (just one dimensional arrays).

So I think this requires enhancing cObj/TS functionality.

Cheers,
Ernesto



More information about the TYPO3-team-extension-coordination mailing list