Hi,

I'd like to generate my stylesheets dynamically (so that I can use 
variables for colors and use the link_to() helper for image tags in 
@url's) but I didn't find anything specific about it in the manual. All 
that is really needed is to run the stylesheet template through the 
template processor once, but that doesn't seem to be possible. So my 
fallback idea was to delete the /css directory from my web root, make a 
module called 'css' and have actions in there for every stylesheet I 
need (at the moment only one, 'style.css'). I think I would have to 
include my stylesheet with a link to /css/style and not /css/style.css, 
but I could not find a way to suppress the '.css' that is added 
automagically by symfony.

Now my actual questions:
1) Is this (i.e., treating stylesheets like all other pages, with an 
action and a template) the way to have dynamic stylesheets?
2) How do I stop symfony from adding .css to my stylesheet, or will I 
have to use mod_rewrite to re-route /css/style.css to /css/style?

Thanks.


cheers,

roel

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to