Child pages
  • Adding module links in the back-office side menu

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

On the PrestaShop back office, the links on the side menu are linked to AdminControllers and ModuleAdminController classes. The first ones come from the PrestaShop Core, but the second ones are defined by the modules. If you want to add a link to your ModuleAdminControllers in the back office sidebar, this guide is for you.

Tabs registration

 

In order to register new links, open your main module class.

...

If you want to add the same name to all available and active languages available on the shop, just set the ‘name’ key with a single string:

 

public $tabs = array(
    array(
            'name' => 'Merchant Expertise', // One name for all langs
            'class_name' => 'AdminGamification',
            'visible' => true,
            'parent_class_name' => 'ShopParameters',
));

 

 

Option 2: Use a different name for each language

...