Jump to content

$this->context->controller->addCss not working


Recommended Posts

I have create a module on prestashop 1.7

I have using addCss on hookActionFrontControllerSetMedia but seems it not working. Why?!

public function hookActionFrontControllerSetMedia($params)
	{	

		$this->context->controller->addCss(_PS_BASE_URL_.__PS_BASE_URI__.'/imymodule/css/prestashop.css', 'all');
	} 

Please help,

Thank you

Edited by phinq1910 (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...