Theming

Hi,

In my web application there are several themes to be used.I can manage all other stuff except widgets inside extension directory. I have already read the article http://www.yiiframework.com/doc/guide/1.1/en/topics.theming, but I didn`t get how manage their css files according to themes.

As an example I m using “mbmenu” extension, it`s color should be changed when theme get changed. To do that I have to maintain two css files, but how can I say yii to load the respective css. By changing $this->widget(‘application.extensions.mbmenu.MbMenu’) path I can do it, But needs to maintain two copies of same extension. Is there any proper way to do it?

Thanks

Aruna

you can use CSS, means that you can include another css file in each theme which will override previously defined styles in widget css. Just check what selector you can use to specify menu container.