Jump to content

Custom Css not Load on header for page.


Recommended Posts

Hello All,

Am create new module for PS 1.7.5.0.

for include Css or Js am using this syntax but not working 

public function hookHeader()
{
$this->context->controller->addCSS(array(
$this->_path.'views/css/<file name>.css'
));
$this->context->controller->addJS(array(
$this->_path.'views/js/<file name>.js'
));

}

above syntax work fine on ps 1.7.6.0

 

please help me.

Edited by yusufraza (see edit history)
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...