[TYPO3-ect] New template standards WAS: Improvement of the template engine
Oliver Klee
typo3-german-01 at oliverklee.de
Fri Feb 10 16:17:10 CET 2006
Hi,
Elmar Hinz schrieb:
> What stands against it? Bring in your drawbacks now!!!
I like this approach. I have two additional ideas:
In my extensions, I currently use the ### templates with some extra code
that saves me a lot of work:
1. Label markers in the form of ###LABEL_DATE### get automatically
filled with the localized string with the key "label_date", so I don't
have to manually fill in all the UI labels.
2. CSS markers in the form of ###CLASS_HEADING###, combined with a value
for "class_heading = bla" in the TS setup get automatically filled with
class="tx-extensionkey-pi1-bla"
and just an empty string if the value of class_heading is empty (in
order to keep unused CSS classes out of the HTML).
Something like this would be great in our final solution as it would
save the extension developers some time (and code size).
Regards,
Oliver
More information about the TYPO3-team-extension-coordination
mailing list