Re: [PHPTAL] 1.2.1 compatibility bug: nested macros and fill-slot, with patch in the end

2009-12-03 Thread Kornel Lesiński
On 02-12-2009 at 22:44:19 Ekke Vasli wrote: EXPECTED OUTPUT (and as of 1.1.16 and 1.2.0): page-a:Value from the first blockspage-b:Valuebis from subpage block REAL OUTPUT (1.2.1): page-a:a value should go herepage-b:Valuebis from subpage block PROBLEM: Metal:fill-slot values are not car

[PHPTAL] XHTML without tal tags

2009-12-03 Thread hosemaria
Is there a method that throws pure XHTML without tal tags? I mean when there is ex. template like this: Name City ${item/name} ${item/city} after ex. function $tpl->new_execute(); result is like this: Name City If not exists is there a simple way to add it? Greetings __

Re: [PHPTAL] XHTML without tal tags

2009-12-03 Thread Kornel Lesiński
On 03-12-2009 at 15:18:56 wrote: Is there a method that throws pure XHTML without tal tags? I mean when there is ex. template like this: Name City ${item/name} ${item/city} after ex. function $tpl->new_execute(); result is like this: Name City If not exists is there a simple way to add

Re: [PHPTAL] XHTML without tal tags

2009-12-03 Thread Marco Pivetta
If you don't mind using a Template Attribute Language, try making stuff with XSLT :) PHPTAL's way is the one with tal, metal, etc. attributes, you can otherwise put PHP in the template file and override the template language, but that's not a good idea as you make the templating engine completely u

[PHPTAL] Re: XHTML without tal tags

2009-12-03 Thread Michał
> What do you need this for? Why not simply execute the template? > Let me explain. I am gonna use phptal template bot for generating content at server side and client side. I found interesting project (Javascript template engine) http://javascriptly.com/2008/08/a-better-javascript-template-en

Re: [PHPTAL] Re: XHTML without tal tags

2009-12-03 Thread Kornel Lesiński
On 03-12-2009 at 15:42:41 Michał wrote: What do you need this for? Why not simply execute the template? Let me explain. I am gonna use phptal template bot for generating content at server side and client side. I found interesting project (Javascript template engine) http://javascriptly.co

[PHPTAL] PHPTAL Dom

2009-12-03 Thread Levi Stanley
I was thinking about trying to incorporate phptal dom into my filters, however does this page (http://phptal.org/manual/en/split/phptal-dom.html) still apply, or has there been some changes to the dom since I last checked? I remember there was some discussions about using another dom in its place

Re: [PHPTAL] PHPTAL Dom

2009-12-03 Thread Kornel Lesiński
On 3 Dec 2009, at 19:56, Levi Stanley wrote: I was thinking about trying to incorporate phptal dom into my filters, however does this page (http://phptal.org/manual/en/split/phptal-dom.html ) still apply, or has there been some changes to the dom since I last checked? I remember there was