Jump to content

Migrating módule 1.6 to 1.7


Recommended Posts

Hello.

In the new version 1.7, a new form does not appear in the backoffice under the customer form.

in module.php:

 

public function install()
{
	...
	$this->registerHook('displayAdminCustomers') &&
	...


public function hookDisplayAdminCustomers($params)
{
	...
	return $this->renderFormCustomer($params['id_customer']).$this->renderList($params['id_customer']);
}

 

In 1.7 it does not show anything or show any error

In version 1.6 it works correctly. Have the names of the hooks changed?

Thank you.

 

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
×
×
  • Create New...

Important Information

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