salvio78 Posted November 18, 2018 Share Posted November 18, 2018 I follow the 1.7 developer guide at: https://devdocs.prestashop.com/1.7/modules/ I create a helloworld module directory and a helloworld.php But I can't see it in backoffice at all. Maybe I have to do some more steps, can anyone help me? helloworld.zip Link to comment Share on other sites More sharing options...
PMunoz92 Posted November 19, 2018 Share Posted November 19, 2018 Did you search it in second tab "Selection" of Modules and Services? Link to comment Share on other sites More sharing options...
salvio78 Posted November 19, 2018 Author Share Posted November 19, 2018 The fact is that if I install it from zip there is no problem, otherwise I can't see it. Link to comment Share on other sites More sharing options...
squivo Posted May 21, 2019 Share Posted May 21, 2019 I've been at Prestashop for about a month now, and it took me three days to figure this out - I _THINK_ it's because somewhere along the Upload process an entry gets created in the `authorization_role` table followed by the `access` table. Without these entries the Back Office TABS and/or MODULES you place in the directory cannot be seen. For 'MyCustomBackEndModule', I had to add via SQL INSERT to the `authorization_role` table: ROLE_MOD_MODULE_MYBACKENDCONTROLLER_DELETE ROLE_MOD_MODULE_MYBACKENDCONTROLLER_READ ROLE_MOD_MODULE_MYBACKENDCONTROLLER_UPDATE ROLE_MOD_MODULE_MYBACKENDCONTROLLER_CREATE And because I had a TAB installed, I also had to add ROLE_MOD_TAB_MYBACKENDCONTROLLER_DELETE ROLE_MOD_TAB_MYBACKENDCONTROLLER_READ ROLE_MOD_TAB_MYBACKENDCONTROLLER_UPDATE ROLE_MOD_TAB_MYBACKENDCONTROLLER_CREATE Then I took the IDs that were generated from these commands above and also had to find the proper profile id for the administrator ( probably 1 ) and SQL INSERT them into the `access` table. Of course, all of the permissions are dependent on what kind of access you want. Administrator should probably have all the access, but if your module has a front end editing component, you may want to limit the `access` for other profile ids Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now