The Dash extension allows you to create a centralized administration dashboard, as well as include an administration menu on your pages.
Requirements ¶
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.
Configuration ¶
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(
'dash',
),
);
Usage ¶
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
> URL|Title
(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.
$this->widget('dash.components.DashMenuWidget');
Changes ¶
January 30, 2012
0.9.1
- Bug fixes
0.9.0
- Initial release
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
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.
Demo
Please share demos
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!
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.