Jump to content

Prestashop can't see my module

Recommended Posts

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:





And because I had a TAB installed, I also had to add 





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

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More