Hi there,
I'm new to PHPTAL and i'm very impressed of it. but one thing is a bit
annoying ...
I use different templates like index.html, header.html, etc and this
worked for me:
[code]
$tpl = new PHPTAL('index.html');
$header = new PHPTAL('header.html');
$tpl->set('header', $header->execu
Yeah, Thanks for the quick reply! Now, all works fine for me and i will
use PHPTAL in my projects.
great work!
Am 11.06.2008, 11:06 Uhr, schrieb Kornel Lesinski
<[EMAIL PROTECTED]>:
--
Thias Jacob
Mail - MSN
[EMAIL PROTECTED]
___
PHPTAL mail
Is it a good "advice" to store a template into a php session like:
$_SESSION["template"] = new PHPTAL('index.html');
because this would save a lot of sourcecode. Im using a "overall template"
and only change in most cases the content, like:
$tpl->set('content', $content->execute()); // Where
Am 18.06.2008, 13:10 Uhr, schrieb Iván -DrSlump- Montes
<[EMAIL PROTECTED]>:
Since PHPTAL compiles the templates I don't thing you'll get a
performance gain from caching in the session. It could even be slower
since serialization/unserialization is an expensive operation.
Ah, this is what I
Hi there,
i created a php class named Box which generates me a "styled div box" and all
works fine.
Now i want to set the color of the box:
ie:
so, whats the best way to replace the "blue" in the comment/class? I tried:
">
but this didnt work ...
Mathias
__
>
>
> Regards
> Laurent
Thanks, that worked for me! Didn't know that this works too
I'm new to template engines and i don't understand a lot (ie the metal macros)
... is there a an examples page with examples of basic usage? I mean with
simple full examples, not only some snippets like in th
Hi,
i just got an overview about the german translation and found 2 words. I
think you should use Browser and Code instead of Brauser and Kode. As
far as i know the word Brauser doesn't exists in german and Kode is an
old translation and i don't know anybody who use it.
More later, it's about 2 a