Forums / Developer / Possible bug with css style's.

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Possible bug with css style's.

Author Message

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}

Regards
Adolfo