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.
table tal:attributes=class php: record/works_page ?
'llista_cancons' : 'llista_canconsindiv'
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
Hi,
I want to write a dynamic JS content into the script/scriptbalise.
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
prefix the content with the 'structure' keyword, it will use the value
verbatin.
script tal:content=structure myJsCode/script
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 script/scriptbalise.
A
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.
script tal:content=structure myJsCode/script
This working fine, thanks you for this very quick reply !
ciao,
/imv
On Mon, Oct 13,
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 → __get()
script language=javascript
![CDATA[
javascript blah
]]
/script
Guillaume Lecanu wrote:
Hi,
I want to write a dynamic JS content into the script/scriptbalise.
A simple : alert(Hello World)
But the problem is PHPTAL replace all quotes (simple or double quote) by
HTML entities.
How can I