Jump to content

back office menu placement


Recommended Posts

Hi thanks

yeah ive seen that - I should have been more clear the newsletter was really an example but say theres another module in the modules screen but i want to link to it directly from the top menus/sub menus how do I go about doing this? What Im trying to so is avoid giving any body direct links to the modules screen and would like for them to access only specific modules(the ones that can be configured) separately

Link to comment
Share on other sites

It is not a simple thing to turn a module into a Back Office tab, but I'll try to point you in the right direction. Create a new PHP class in admin/tabs that extends AdminTab. Copy over the postProcess() function from the module's PHP and the contents of getContent() function into a display() function. Once you've done this, go to Tools > Tabs, then click "Add new", enter the Name of the tab, enter the name of the PHP class you created (without the .php extension) under Class, then choose the tab you want the subtab to appear using the Parent dropdown or leave it on Home to make it a main tab.

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