[TYPO3-ect] Improvement of the template engine

Elmar Hinz elmar.DOT.hinz at team.MINUS.red.DOT.net
Wed Jan 25 23:36:51 CET 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

the classical template maker looks like this: ###PROJECT_ABSTRACT### .

"<h3>###PROJECT_ABSTRACT###<h3>"
If the project name is empty the resulting output is "<h3></h3>".

To suppress "<h3></h3>" you need to wrap it into a region and do some extra
programming tricks.

In php based template engines you could write:

<? if($projectName!=''): ?><h3><?=$projectName; ?></h3><? endif; ?>

Other template engines work on the base of XML tags.

What is already planned or done?

What do you propose the best direction to go with templating features?

A) Extending the ### System?
B) Develope of an XML variant?
C) Implementing smarty or a simlar tool more officialy?
D) Other idea
E) Doing nothing


/el


- --
Climate change 2006 is killing people: floods in California, drought and fires
in Australia, Texas, Sahel, Oklahoma, South Africa. The Bush administration is
responsible for corruption of the Kyoto Protocol. The US majority is responsible
to the world for reelection of a convictable [...censored by Echelon...].
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFD1/2DO976RNoy/18RAjSwAKCG1FdlDgcMWKOR0bX6yB09Ox9uDwCgzfv4
kuAXT0CeVAMhnk/utf+gqi4=
=H11q
-----END PGP SIGNATURE-----



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