Widgets Views In Theme, Answer.

I had many trouble with this.

My folder structure:




The theme:


Well, in Windows everything ok, but in *unix, the view can’t be found.

(I know that Windows’ folder name don’t differentiate lower and upper case, but I thought that the Yii search by the folder name of the view, not by the class that call the render.)

Just because the name of the dir in theme/views should be MyWidget instead of mywidget.

Maybe I help someone with this.

Happy coding.

Unix is case sensitive so just double check your file names

I know that, as I explained in the post.