News Archive
PhpRiot Newsletter
Your Email Address:

More information

Removing stylesheets in symfony 1

Note: This article was originally published at Planet PHP on 27 April 2011.
Planet PHP
Today I encountered a situation I've not encountered before: I have a project-wide stylesheet that should be used for everything, except one specific module that has different (brandable) stylesheets. I created a view.yml for this module with a different stylesheet, but of course the configuration files are merged so it doesn't actually overwrite the main stylesheet file. And this wasn't really what I needed here.