Jump to content

Edit History

sparkest

sparkest

Thanks for the info, guys!

sparkest

sparkest

You need to add the controller tab manually using Tab in the install() function. Here's an example:

php

Copy code

public function install() { if (!parent::install()) { return false; } $tab = new Tab(); $tab->class_name = 'AdminYourCustomController'; $tab->module = $this->name; $tab->id_parent = (int)Tab::getIdFromClassName('AdminParentModules'); $tab->save(); return true; }

After that, clear the cache and try again.

×
×
  • Create New...