Forums / Developer / Possible bug with css style's.
Pablo C. Vergara Castro
Monday 21 June 2004 12:38:22 am
Hi to all.
In one of my overrides templates (that override the login themplate) I put this lines:
<STYLE type="text/css"> BODY { background-color:#47527E; } </STYLE>
And the template don't show nothing, but when I'd used the debugger I could read this:
<i>Error: eZTemplate Jun 21 2004 09:36:34
parser error @ design/<blablabla>/override/templates/login.tpl:7[19]Invalid parameter characters in function '': ':#47527E;</i>
Best regards.
Adolfo Barragán
Monday 21 June 2004 1:17:20 am
This is not a bug.
The template compiler misinterpret the symbol "{" and think it is the star of a template function.
You must escape these symbol using the {literal} function:
{literal} <STYLE ... { ... } </STYLE>{/literal}
RegardsAdolfo