Hey, use <tal:block tal:replace=""> lots of html here </tal:block>
The documentation suggests this for creating "samples" in the templates... http://phptal.org/manual/en/split/tal-replace.html Kind regards, Per -----Ursprüngliche Nachricht----- Von: phptal-boun...@lists.motion-twin.com [mailto:phptal-boun...@lists.motion-twin.com] Im Auftrag von tarjei Gesendet: Donnerstag, 4. November 2010 09:15 An: Template Attribute Language for PHP Betreff: [PHPTAL] Minor feature request -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, would it be possible to get a false modifier for phptal so I could do: <tal:block tal:condition="false"> lots of html here </tal:block> And the content within would not be included in the output? Also one could remove the whole part from the php template since it would never be executed. This would be usefull as a technique for adding comments or for removing parts of a page for some time. Regards, Tarjei Huse -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkzSa5wACgkQYVRKCnSvzfIajgCgu9a3fD6Z3uR+1byhNL6qKvUr ZGAAnAlzPE2ylAqBdpye5TbUv8m0DTdL =o3XG -----END PGP SIGNATURE----- _______________________________________________ PHPTAL mailing list PHPTAL@lists.motion-twin.com http://lists.motion-twin.com/mailman/listinfo/phptal _______________________________________________ PHPTAL mailing list PHPTAL@lists.motion-twin.com http://lists.motion-twin.com/mailman/listinfo/phptal