Yii Framework Forum: Default Right Menu In Admin Access - Yii Framework Forum

Jump to content

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

Default Right Menu In Admin Access show another menu different to default post menu in admin access Rate Topic: -----

#1 User is offline   Néstor Acevedo 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 11
  • Joined: 08-January 13

Posted 11 January 2013 - 04:31 PM

Hi.

i'm so newbie in yii

i'm developing a site, so i build a controller just like blog example. i've defined the post controller as the default controller.

now i'm doing another "module", for uploading some images for banners. but when i log as admin, the right menu that is showed is the post menu, not else the banner menu.

so my question is how can i to show the banner menu else the post menu.

thanks.
0

#2 User is offline   alirz23 

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

Posted 11 January 2013 - 10:05 PM

after you login you have to point your browser to the module's url, if you have that part right then may as well post some code
0

#3 User is offline   Néstor Acevedo 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 11
  • Joined: 08-January 13

Posted 12 January 2013 - 12:02 PM

View Postalirz23, on 11 January 2013 - 10:05 PM, said:

after you login you have to point your browser to the module's url, if you have that part right then may as well post some code


yes, i point in the url the controller/view:

for admin posts: post/admin
for admin bannres: banner/admin

ok finally i've found the problem that never looked before: as i build the site as the yii tutorial example for blog, i forgot completly the UserMenu view. ther is where the right menu is loading. :wub:

thanks anyway although i will follow making some noobies questions.

[edit] a question: how to set Solved in post title?
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