Child pages
  • Administration Menus Configuration

Versions Compared

Key

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

Administration Menus Configuration

PrestaShop's back - office menu organization is not set in stone: while the default arrangement is built in order to have the most useful pages readily available, you might have a different opinion, and may want to change the organization, in part or in full.

...

You can disable a menu simply by clicking on the green "Yes" in the "Enabled" column. Note that this will disable the menu for all back - office users. If you want to hide a menu from a specific set of users, edit their profile's permissions, in the "Permissions" administration page.

...

You can disable a page simply by clicking on the green "Yes" in the "Enabled" column. Note that this will disable the page for all back - office users. If you want to hide a page from a specific set of users, edit their profile's permissions, in the "Permissions" administration page.

...

  • Name. Give it a unique name, because it will serve as an internal identifier.
  • Class. In short, a PrestaShop back - office page is based on specific internal PHP files, which are called "admin controllers", and are most often stored in the /controllers/admin folder of your PrestaShop installation. When creating a new page, you must know which controller to target, and most importantly the name of its class – which is the name of its PHP file.
    For instance, if you want to create a page displaying PrestaShop's backup administration page, you must first find its controller name (in this case, AdminBackupController), and copy it in the "Class" field.
  • Module. In some cases, the administration controller for which you want to create a page comes from a module. In that case, you must also indicate the identifier for the module (in most cases, its folder name) and copy it in the "Module" field, in lowercase. This way, PrestaShop will know that it should not look for the controller in the /controllers/admin folder, but rather in the /modules/NAME-OF-THE-MODULE/ folder.
  • Status. You can disable a page at any time, but do note that it affects all the back-office users.
  • Parent. You can choose any menu, but for consistency's sake, make sure to pick one to which the page you are creating is relevant.

...