Guillaume Lecanu wrote:
> Hi,
>
> I want to write a dynamic JS content into the balise.
> A simple : alert("Hello World")
>
> But the problem is PHPTAL replace all quotes (simple or double quote) by
> HTML entities.
>
> How can I do ?
>
> Thanks
>
>
> !DSPAM:1,48f
Kornel Lesiński <[EMAIL PROTECTED]> writes:
>
> On 10-10-2008 at 19:16:36 admi <[EMAIL PROTECTED]> wrote:
>
> > If you may tell me where in PHPTAL (in which file) it is read, so I
> > could put some of my code there and unset it automatically while reading
> > :)
>
> It's in Context.php → _
Le lundi 13 octobre 2008 à 22:22 +0200, Iván -DrSlump- Montes a écrit :
> prefix the content with the 'structure' keyword, it will use the value
> verbatin.
>
>
This working fine, thanks you for this very quick reply !
>
> ciao,
> /imv
>
>
> On Mon, Oct 13, 2008 at 10:13 PM, Guillaume Lecanu
prefix the content with the 'structure' keyword, it will use the value
verbatin.
ciao,
/imv
On Mon, Oct 13, 2008 at 10:13 PM, Guillaume Lecanu <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I want to write a dynamic JS content into the balise.
> A simple : alert("Hello World")
>
> But the problem is PH
Hi,
I want to write a dynamic JS content into the balise.
A simple : alert("Hello World")
But the problem is PHPTAL replace all quotes (simple or double quote) by
HTML entities.
How can I do ?
Thanks
___
PHPTAL mailing list
PHPTAL@lists.motion-twin.co
On 12-10-2008 at 11:21:18 Iván -DrSlump- Montes <[EMAIL PROTECTED]>
wrote:
The problem is probably that PHPTAL parser doesn't know how to correctly
process the PHP ternary operator.
No, it does.
In php: code / is a mathematical operator. You need to make it
record.works_page (if re
On 10-10-2008 at 19:16:36 admi <[EMAIL PROTECTED]> wrote:
If you may tell me where in PHPTAL (in which file) it is read, so I
could put some of my code there and unset it automatically while reading
:)
It's in Context.php → __get()
--
regards, Kornel
__