Hi again.
I’m curious if it is provided to use the layout without rendering view?
Why? For example I want to create a dashboard consisted only of widgets, so I do not want to render anything (i do not have corresponding content), cause there is no such a model like a dashboard.
What do I have now?
admin module.
default controller is Dashboard:
class DashboardController extends Controller {
public $layout = 'dashboard';
public $pageTitle = 'Dashboard';
public $defaultAction = 'index';
public function actionIndex() {
$this->render('/dashboard/nothing');
}
So I needed to create a folder with empty file in it and point to render this file in my dashboard controller. It’s not the way it should be. Isn’t it?