Jump to content

New Admin Tab


enigma32

Recommended Posts

Has anybody created new admin tabs for 1.7.1.2 before?

 

I want to seperate the contact settings and IMAP settings from the "customer service" tab (AdminCustomerThreadsController.php)  because why are customer service agents looking at our IMAP settings all day long, complete with plain text password? Even changing the password from text field to password field, they can accidentally break things and shouldn't be looking at settings at all.

 

So I create two new files:

 

AdminContactSettingsController.php with class declaration AdminContactSettingsControllerCore extends AdminController

AdminImapSettingsController.php with class declaration AdminImapSettingsControllerCore extends AdminController

 

I add both to ps_tab and ps_tab_lang tables properly and everything.

 

Once trying to access the tabs, I get a fatal error on /classes/controller/Controller.php line 142 that the new tab classes are not found

 

What am I doing wrong here?

Edited by enigma32 (see edit history)
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...