Jump to content

[PS 1.7] module hook


Guest
 Share

Recommended Posts

I need to display my module in administration, product detail on the modules tab.

Thank you.

obrazek.png.bdb42932c2949d47f8fd7f5d3c37df17.png

Share this post


Link to post
Share on other sites

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;  
}

 

Share this post


Link to post
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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More