Re: [PHPTAL] Validation of XHTML

2009-05-15 Thread Tjerk Meesters
It would be much easier if you could just add tal: and metal: inside the %coreattrs definition ;-) On Sun, Apr 12, 2009 at 11:16 PM, php...@jakeman.plus.com wrote: To follow up my own posting, I've found it's possible to get the W3C validator to accept tal: and metal: attributes by using a

Re: [PHPTAL] no error when var is not set ?

2009-05-15 Thread Werner
I also like using the solution that Levi suggests. Just note that the element's default content will be used if it is defined - this has the added value of being able to view your template (e.g) in your browser, without any replaced variables. So, note that this will output nothing if

Re: [PHPTAL] PHPTAL 1.2.0 alpha - is this a bug or my fail?!

2009-05-15 Thread Alister Cameron
Billiant! All fixed :) Think I went a bit slot-crazy ;) Cheers, -Alister 2009/5/15 Kornel LesiƄski kor...@aardvarkmedia.co.uk It seems that you've used slots where macros would have been more appropriate. This just defines the same slot many times: span tal:repeat=entry entries