[SOLVED] blog tutorial UserMenu portal not visible

Since I am too new to post directly to the blog tutorial comments, I hope someone more senior can post this advice for others.


If you followed the instructions above, but can not see the userMenu view after logging in to the blog, then you may have forgotten to update the default layout in the customized base controller class: Controller in /protected/components/Controller.php


public $layout=’//layouts/column1’;


public $layout=’//layouts/column2’;

Hope this saves someone else some time.

Thank you, it worked.

It’s a small tip to change your layout easily

With a controller, we could use a layout, so User & MainController could use 2 layouts.

Another way (not recommented) use if else ^^ PHP, I choose changing layout!

Anyway, tks!