Jump to content

[PS 1.7] module hook


Guest

Recommended Posts

The hook is built-in.
Thank you.
And how do I display the module configuration window without an external tpl?

public function install()
{             
    $this->installTab();
    if (!parent::install() && !$this->registerHook('displayAdminProductsExtra')) {
         return false;
     }
     return true;  
}

public function hookdisplayAdminProductsExtra()
{             
    // get module configuration    
   return $this;  
}

 

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