How to know and change Paths

I’ve read somewhere that Yii permits to customize everything, even paths. For example, I would like to change theme and portlets path (for latter both “model” and “viw” path).

How to do that? And, in general, which way I have to follow to change those paths?

TIA

Danilo

For themes you can check the CTheme basePath, viewpath etc http://www.yiiframework.com/doc/api/CTheme

For portlets you can check the CPortlet viewpath http://www.yiiframework.com/doc/api/CPortlet

Pretty much each class has it’s own path properties and methods to get and set those values.

About themes: http://www.yiiframework.com/doc/guide/topics.theming

To change application’s views and controllers paths look the corresponding properties of http://www.yiiframework.com/doc/api/CWebApplication

You can put portlets and models anywhere, just make sure you imported their paths using http://www.yiiframework.com/doc/api/YiiBase#import-detail

Thanks a lot!