Yii 1.1: yii-dashboard

A simple template for Yii admin dashboard

This is a drop in module that provides a clean and simple template for admin dashboards. It is a self contained module, so you can drop it in and you're good to go. It consists of a styled layout (Yii Bootstrap) and a base controller that handles all access control.

I've stripped everything out so it's a good starting point to get an admin module up and running.

Original design idea came from the 1st example in http://speckyboy.com/2013/05/16/user-experience-trends-for-admin-dashboards/


Please report any bugs to http://www.yiiframework.com/forum/index.php/topic/43493-yii-dashboard-bug-discussion/


  • Yii 1.1 or above
  • If you're using Yii Bootstrap in the main area of your app, you must use version 2.0.2 or higher. This module will not work if you're using anything less. Why? This module requires Bootstrap's register method which was added in version 2.0.2.


Simply drop the extracted Admin module in protected/modules and edit your config file to recognize the module. Done

'modules' => array(

Total 12 comments

#18744 report it
MarkFrater at 2014/12/23 03:58pm
Updating yii-dashboard assets

If I change the bootstrap.css what is the best way of refreshing the published asset files from the yii-dashboard module?

#15551 report it
Mick O'Hea at 2013/11/21 02:49am
Problem with yiistrap

There's a problem if you're using Yiistrap (the newer version of Yii Bootstrap).

This still gets set up with the component name 'bootstrap', but it doesn't have a getVersion method, so the version check in AdminModule::checkDependencies() gives an error.

It's simple enough to comment out the version check, though I'm not sure how you could easily distinguish between the old Yii Boostrap and Yiistrap

#14895 report it
logudotcom at 2013/09/19 01:47am
drop down sub menu

Just need a help, Is there any possibility to have drop down menu ? so that we can have more menus (instead of top)

#14889 report it
logudotcom at 2013/09/18 12:53pm

Thanks, for the beginners it looks good.

#14504 report it
waterloomatt at 2013/08/18 01:17pm

You don't need to use Bootstrap in your main area. The module provides a version; the only restriction is that IF YOU ARE USING Bootstrap in you main area, you must use version 2.0.2.

#14502 report it
devonc at 2013/08/18 11:25am

No, I haven't customized it.

Oh, I didn't realize Bootstrap was required in the main area ("If you're using Bootstrap...") - and I'm not using it.

#14501 report it
waterloomatt at 2013/08/18 10:46am

So you haven't customized it yet? What version of Bootstrap are you running on the front-end?

#14498 report it
devonc at 2013/08/17 11:29pm

I'm not sure what menu code you're asking for - the only thing I can think of is the main layout? Thanks

#14496 report it
waterloomatt at 2013/08/17 08:25pm

@devonc I'd be happy to take a look if you post your menu code here - http://www.yiiframework.com/forum/index.php/topic/43493-yii-dashboard-bug-discussion/

#14494 report it
devonc at 2013/08/17 04:24pm

I get an error: Property "TbMenu.itemCssClass" is not defined.


#13374 report it
waterloomatt at 2013/05/26 06:50am
Why the -1?

If you notice a bug please report it here.

#13368 report it
samilo at 2013/05/25 01:26am
Thank you

Good work thank you

Leave a comment

Please to leave your comment.

Create extension