I just noticed that the templating engine is not displaying the content of
my tags in this piece of code:
tal:attributes and tal:repeat are working, but tal:content is not even
fired! I've tried with tal:content="php:var_dump(meta)", which should
directly write to t
Meta tags don't have content actually. Maybe this is about that situation.
Murat Corlu
On 05/05/2010 12:09 PM, Marco Pivetta wrote:
I just noticed that the templating engine is not displaying the
content of my tags in this piece of code:
tal:attributes and tal:repeat are working, but
So I'm forced to set XML only, right?
Marco Pivetta - Ocramius Aethril
http://twitter.com/Ocramius
2010/5/5 Murat Çorlu
> Meta tags don't have content actually. Maybe this is about that situation.
>
> Murat Corlu
>
>
> On 05/05/2010 12:09 PM, Marco Pivetta wrote:
>
> I just noticed that the t
On 05-05-2010 at 10:20:28 Marco Pivetta wrote:
So I'm forced to set XML only, right?
By default PHPTAL works in XHTML mode, and in this mode (as well as
, , etc.) gets special handling and is always empty.
If you're generating non-XHTML XML, then set PHPTAL to generate arbitrary
XML: $
Works fine now :) Thank you!
Marco Pivetta - Ocramius Aethril
http://twitter.com/Ocramius
2010/5/5 Kornel Lesiński
> On 05-05-2010 at 10:20:28 Marco Pivetta wrote:
>
> So I'm forced to set XML only, right?
>>
>
> By default PHPTAL works in XHTML mode, and in this mode (as well as
> , , etc.)
Hi all,
Just a quick one. Could someone tell me how to reference a variable defined
within a metal macro from within a slot?
In particular, I'd like to define a macro that generates a calendar grid of
days and then use a slot to provide varying content to be rendered within the
'day' cells. I
On 05-05-2010 at 14:26:08 Robert Goldsmith wrote:
Just a quick one. Could someone tell me how to reference a variable
defined within a metal macro from within a slot?
You can't. Slots aren't filled on demand, but in advance before the macro
is called (slot in a loop would repeat the same c
Ah, ok. I was hoping a slot would work for me but yes, using another macro will
work exactly as I need it to :)
Thanks,
robert
On 5 May 2010, at 14:50, Kornel Lesiński wrote:
> On 05-05-2010 at 14:26:08 Robert Goldsmith wrote:
>
>> Just a quick one. Could someone tell me how to reference a v