Jump to content

How to add a new tab in backoffice


Recommended Posts

write following code and execute in install method.

$parent_tab = new Tab();
$parent_tab->class_name = 'Tabs AdminControllerName';
$parent_tab->module = $this->name;
$parent_tab->id_parent = 0;
$languages = Language::getLanguages(false);
foreach ($languages as $lang)
	$parent_tab->name[$lang['id_lang']] = 'Tab Name';
Edited by NishantVadgama (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...