Hi Ant,

The problem is that I want to add this stylesheet only if you use the
bundled layout, so I do this programatically in the action instead of doing
it in the view.yml. But, that means that the stylesheet is added before the
main.css, which breaks some os its styling. So choosing to add the
CMSTemplates.css last is a short-term solution, but it works so far.

If you want to try and make the two stylesheets live well with each other
when main.css comes second, that would be a great help. I could then have
the CMSTemplates.css added first, which opens room for more customization.

François

-----Message d'origine-----
De : [email protected] [mailto:[EMAIL PROTECTED]
De la part de Ant Cunningham
Envoyé : mercredi 15 août 2007 01:08
À : [email protected]
Objet : [symfony-users] sfSimpleCMSPlugin


Question... is there reasoning behind having CMSTemplates.css add as the
last sheet directly from the base action? In my case I don't want to use it
at all and I have a specific stylesheet convention to adhere to. Wouldn't it
make more sense to add this "first" so that it can be overridden by
successive sheets, or to put it in the view or app yml so it can be easily
turned off without modifying the base action or overriding the action? I
could of course be missing something... ive only been playing with this for
an hour or two. So far, ther than that and some difficulty figuring out how
the layout works this is great.






--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
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