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?



For themes you can check the CTheme basePath, viewpath etc

For portlets you can check the CPortlet viewpath

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

About themes:

To change application’s views and controllers paths look the corresponding properties of

You can put portlets and models anywhere, just make sure you imported their paths using

Thanks a lot!