Hi,
I'm developing a website using ccHost, and got trapped in a line:
    <table tal:attributes="class php: record/works_page ? 'style1'' :
'style2'  " >

 record/works_page contains a boolean value, and according to that, i
may apply style1 or style2.
I tried it changing the slashes into dots, but didn't work. I get the
famous Hebrew error:

Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in
/home/server/musicalliure.net/subdominis/proves/httpdocs/mll_files/temp/tpl_0_7_0_060569839c3080481dfb9a552861235b.php
on line 516

a line like <div tal:condition="not: record/works_page"
class="llista_cancons_titol"> has worked properly in the same context.
what's wrong in the first line, then?

Thanks :)



Edu

Eduard Gamonal

_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to