Jump to content
  • Posts

    2
  • Joined

  • Last visited

Profile Information

  • Activity
    Freelancer

[email protected]'s Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi, Is it possible to hide a tab for a dedicated admin users? for example show SEO tab only for super admin and translators only. thanks for answers
  2. Hi, I am using Prestashop 1.6.1.5 I have tried to make a new menu item in the admin area for showing configure page of "Image slider for your homepage v1.6.1 – developed by PrestaShop" Module. So I did as following: 1. I click Administration - > Menus 2. I created a new menu option by clicking the "Add new menu" icon at the top-right of the form. 3. There is a textbox for menu item name. I type "Slider" for this. 4. A textbox for class and a text box for module. According to Prestashop User's Guide I try to fill correct data for Class and Module textboxes but when I click on new menu item (Slider), Prestashop can not show this module's configure page and the browser show me the following message: "The localhost page isn’t working localhost is currently unable to handle this request. HTTP ERROR 500" For solving this problem, I navigate to "Image slider for your homepage" module's configure page and then I created a new menu item on the Quick Access. Then I clicked on this menu item for analyzing the generated URL by the browser: http://localhost/......037284a9d1da538 I have guessed the Class should be " AdminModules " or "homeslider" and the Module should be "homeslider". But I got the same result. I did not understand how can I fetch the correct data for Class and Module textboxes from this URL. At last, as you know, "Image slider for your homepage" is only an example for this issue. So my questions is that: 1. What I should fill for this module for Class and Module textboxes? 2. How can I find the Class and Module name for other Modules? The following text is the Prestashop User's Guide for this issue: "Creating a new page or menu Click on the "Add New Menu" button to reach the page creation form. • 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." Thanks for any help.
×
×
  • Create New...