Layouts Location

Hi All,

I want to place layouts of the application to other location then views.

I want so because that I want to run a web application in multiple for multiple layouts based on user settings.

How can I do that?

Also, How can I use themes for each of the layout?

Thanks in advance.

In controller you can set $layout property like this:

$this->layout = "application.mycustomdir.mycustomlayout";