Urls On The Page Changed When Use Dash Exntension

Hi all,

I have downloaded dash extension from here: http://www.yiiframework.com/extension/dash/ and put it in protected/modules folder and also declared it in config/main.php.

It is ok and I have added some blocks into dashboard but it seems it have problem with links that CMenu widget created in layout files. for example url of homepage changed from ‘site/index’ to ‘dash/site/index’ when I am on index.php?r=dash page.

what is the problem? Why is it so?

thank you.

the docs says under usage

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.


did you add this line in your layout before </body>