Thursday, January 16, 2014

Call different layout for different controller action

Change layout in the controller 

public function somethingAction (){

    // statements

   $this->layout('layout/different');

}

No comments:

Post a Comment