Jump to content

Overriding Back Office Tab?


pberce

Recommended Posts

I'm adding Authorize.net Customer Information Management (CIM) to my system which involves adding code during customer signup, etc. It also involves adding code to the Back Office. I'd like to override the AdminCustomers tab, I've found some information on it here and there but have had no luck.

 

I did find some information by one of the Prestashop active users (Rocky) and his guide on Overriding Back Office Tabs (http://www.nethercottconstructions.com/en/content/55-overriding-back-office-tabs). I tried this and was unsuccessful.

 

At this point I'm just modifying the core classes directly.

 

Can anyone recommend on how to do this or tell me if this is even possible?

Link to comment
Share on other sites

Hi,

 

I recommend not to override any AdminTabs.

Create you own module, register from this module your tab that offers similar feature plus your add-ons,

Create a new profile similar to "administrator"

Remove view permission from the original Tab.

Create an employee account with this alternate profile.

 

This way:

- you preserve your core from mods

- you maintain upward compatibility

- should something fail you still have the "genuine" admin employee/profile so you can access your BO

- your changes will pertain across upgrades

 

Best,

(d)oekia

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...