Jump to content

Admin Tab class not loading


raxbg

Recommended Posts

Hi,

I am trying to give my module a tab in the back office. I have followed what otzy suggested in this topic http://www.prestashop.com/forums/topic/90183-solved-how-to-create-a-new-tab-in-the-back-office-modules-page/ but it didn't work. The file is loaded though, if I put echo statement in the begining of the file, the message is echoed. The problem is that the class is not executed. Also I found that the name of the class should start with Admin. I am putting an echo statement in the constructor of the class but it doesn't get displayed anywhere. Can u help?

Link to comment
Share on other sites

Can someone close this, it's been my mistake. Obviously the name of the class doesn't matter it just can't be the same as your module's name. I mean, mines are different in casing, but obviously for php its the same class.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...