Yii 1.1: dash

Allows you to create a centralized admin dashboard + menu.

The Dash extension allows you to create a centralized administration dashboard, as well as include an administration menu on your pages.



This has been tested with 1.1.9, but should work with any version.

Install the database schema located in '/data/dash.sql', modifying the table prefix as needed.


Be sure to configure the 'db' component of your app to use a table prefix, otherwise you must update the DashBlock model's table name.

return array(
   'modules' => array(


To view/configure the dashboard, simple visit 'dash' and start creating blocks. Each block has a title and a set of links (referred to as actions). Each action goes on a new line, using the format


(e.g. http://google.com|Google or site/login|Login)

To use the dashboard menu, include the following widget before the </body> tag in your main layout file. NOTE: Be sure to check the user's access before displaying the widget.



January 30, 2012

  • 0.9.1

    • Bug fixes
  • 0.9.0

    • Initial release


Total 4 comments

#11962 report it
Sebastian at 2013/02/15 10:21am
Quite nice, but...

The extension seems quite nice, but there has to be a bug in it. Every action works, except actionCreate(), which causes Yii::app()->user to get NULL. I could not find out why this is, but without Yii::app()->user, I cannot see whether the user is an admin. It works in every other action (inside and outside of dash), but not in actionCreate(), this is weird!

#7210 report it
Anas AbuDayah at 2012/03/05 12:04am

Please share demos

#7032 report it
bit0123 at 2012/02/20 09:03am
How to work with 'dash'

I am new in yii.So sorry for any types of wrong.

It's not clearly defined for me(someone new) that how to use the 'dash' extension in my project and where to place the extracted file and what will be the syntax.

Pls help me. I am in trouble. Thanks in advance.

#6801 report it
komannder at 2012/02/06 07:22am
urlManager problems

Hi there,

Great extension idea, but I have serious problems with it because of the way URLs and form actions are created.

To make multi language SEO friendly URLs, like in http://www.example.com/es/about I followed the instructions in http://www.yiiframework.com/wiki/294/seo-conform-multilingual-urls-language-selector-widget-i18n

Your extension links fail all other the place because in many places you do NOT use the function Yii::app()->createUrl(...)

I have fixed some, but it would be great if you could take this into account for further versions.

Thanks, Charles

Leave a comment

Please to leave your comment.

Create extension