Author Topic: menu customization  (Read 1800 times)

kumar

  • Zen Apprentice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
menu customization
« on: April 16, 2008, 03:37:40 pm »
Is it possible to customize EBoX web interface menu's....

If it's possible where can I find the related perl files..... I tried but not able to find exact location...

could anybody help me to find the menu related files.....

Thankyou...

sixstone

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1417
  • Karma: +26/-0
    • View Profile
    • Sixstone's blog
Re: menu customization
« Reply #1 on: April 16, 2008, 07:21:19 pm »
You can customize the CSS styles and images which are located in /usr/share/ebox/www.

Do you want to customize anything else?
My secret is my silence...

kumar

  • Zen Apprentice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: menu customization
« Reply #2 on: April 17, 2008, 12:08:00 pm »
Thank you verymuch for your reply..

I want to hide some menu items on user basis.. only admin should able to see everything, user should not see network menu etc.... only see selected menus like reports etc.... if i can find the files where to look.. I can work on that...

thank you...

sixstone

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1417
  • Karma: +26/-0
    • View Profile
    • Sixstone's blog
Re: menu customization
« Reply #3 on: April 17, 2008, 03:38:40 pm »
The menu additions are done in every module under every menu subroutine.

Those menu methods are /usr/share/perl5/EBox/*.pm.

Good luck, ;)
My secret is my silence...

Javier Amor Garcia

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1225
  • Karma: +12/-0
    • View Profile
Re: menu customization
« Reply #4 on: April 17, 2008, 04:32:09 pm »
I want to hide some menu items on user basis.. only admin should able to see everything, user should not see network menu etc.... only see selected menus like reports etc.... if i can find the files where to look.. I can work on that...

thank you...

Hi,
  in eBox thre only one user, the administrator user, so is unnecessary to hid menu items

Cheers,
  Javier