[TYPO3-ect] Improvement of the template engine

Elmar Hinz elmar.DOT.hinz at team.MINUS.red.DOT.net
Thu Jan 26 01:03:25 CET 2006


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

Hello Joey,

that is a solution, but one that I mentioned as "extra
programming tricks". There could by easy solutions that work completly inside
the template.

I personally wrote me a function that understands the following markers.

###ISSET_projectAbstract###
<h3>###projectAbstract###</h3>
###ISSET_projectAbstract###

It also knows primitive conditions: AND OR

###ISSET_zip && ISSET_street###
<li>###zip### ###street###</li>
###ISSET_zip && ISSET_street###


###ISSET_alpha || ISSET_beta###
<h3>Results</h3>
###alpha### ###beta###
###ISSET_alpha || ISSET_beta###


Very usfull for me. But it requires completly identical lines as wrapper. So
it's not ready for a public library. But it points in the direction I want to
discuss.


Regards

Elmar

- --
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

iD8DBQFD2BHNO976RNoy/18RAnBfAJ9hkQo31vDqxiG8P5YhwYVPlxW4wwCfbzG3
7yErFmGJPujPk99ZfeE+7wc=
=5A4K
-----END PGP SIGNATURE-----



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