Mirko123 Posted April 23, 2020 Share Posted April 23, 2020 So I want to change some colours, and replaced this line two lines: ... 'image' => _PS_BASE_URL_ . "/modules/modulename/views/img/image.png", ... $this->addJS(_PS_BASE_URL_ . "/modules/modulename/views/js/file.js"); ... With these two: ... 'image' => _MODULE_DIR_.$this->module->name."/views/img/image.png", ... $this->context->controller->addJS(_MODULE_DIR_.$this->module->name.'/views/js/file.js'); ... The question is what do i need to do to properly make this upgrade available on addon store? Link to comment Share on other sites More sharing options...
joseantgv Posted April 23, 2020 Share Posted April 23, 2020 You just need to change module version and upload new ZIP. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now