i have created customer theme for my website with two different layouts main and cart. I need to use layout cart on certain actions and it works fine on my local system. i have used the following code to apply layout cart.
function actionCheckout(){
$this->layout = "cart";
}
but, when i run the same code on live (Cent OS), it does not work, i means the cart layout does not apply.
Check if you have uploaded all the views. When you have specified a theme, Yii first looks for the view in the theme folder and if not found, then will load the default view.