> What is in styles.css? Since you are parsing it as a Velocity template,
> you need to escape anything that's not meant to be Velocity code, for
> example:
>
> #header { color: #ffffff; }
>
> should be
>
> \#header { color: \#ffffff; }
>
> If nothing at all in styles.css is Velocity code, then you should use
> #include instead and you won't have to escape anything.
>
> #if
> (#templateExists("$context/assets/organizations/$id/css/styles.css"))
>   #include("$context/assets/organizations/$id/css/styles.css")
> #end
>

Freddy,

Thanks a lot for your reply. I am using stuff like this in the styles.css
file:

.logo {background-image:
url(${context}/assets/organizations/$organizationID/images/logo.gif);}

I am using the $context and $organizationID variables in the file. This
will need to be parsed and so I would need to use #parse and not #include.
Am I right?

Thanks,
Prem


Reply via email to