Jump to content

adding an item to Admin menu


basmistry

Recommended Posts

What want to do is add a menu item to the Backoffice Main Menu

 

as an example the Module 'Homeslider' - is this possible ?

 

I tried Adding a menu

 

Name 'Slider'

in the Class 'AdminModulesController'

 

in the module I put in 'homeslider'

 

Menu item is added but when I click on it - I get an error Controller not found!!

 

Any pointers would be appreciated

Link to comment
Share on other sites

Usually you need an module to install new menu to back office Admin pages.

And in your module you will need create a admin page controller that extends controller class ModuleAdminController .

 

You can also create an standard PrestaShop back office admin controller that extends class AdminControler. But you have to add this controller class to following folder so that it will be loaded automatically. And then you can use it the way you described to add a menu.

 

/controllers/admin/

Link to comment
Share on other sites

Thanks I'll do more digging

 

I did do a bit of research - aka googling !!

 

The docs don't seem very clear or complete - it would be good to extend the help to say give a full example of the Backup item mentioned

 

http://doc.prestashop.com/display/PS16/Administration+Menus+Configuration

 

others here in the forum and elsewhere

 

What I want to do is make it easier for the user and allow them to change the Slider images ... without giving them access to Modules where they can do a lot of damage !

 

Pity there is no plug-in

 

maybe its too easy and I'm not seeing the picture !

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...