Yii Framework Forum: Urls On The Page Changed When Use Dash Exntension - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Urls On The Page Changed When Use Dash Exntension Rate Topic: -----

#1 User is offline   hamir 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 9
  • Joined: 28-December 12

Posted 11 January 2013 - 11:04 AM

Hi all,
I have downloaded dash extension from here: http://www.yiiframew...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.
0

#2 User is offline   alirz23 

  • Master Member
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 716
  • Joined: 08-August 12
  • Location:Durban, South Africa

Posted 11 January 2013 - 10:46 PM

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.

$this->widget('dash.components.DashMenuWidget');


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

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users