Hi,
I am trying to correctly include some CSS files (or JS) to my module configuration in the backend so I can show styled content using a CSS file instead of inline style.
After some research I see there is a hook:
public function hookActionAdminControllerSetMedia($params)
{
// add CSS and Javascript required
Tools::addCss($this->_path.'/css/prestastats.css');
}
But it does not include my CSS, tried other code similar to that. But it does not work either.
Which is the correct way to include a CSS in our module configuration view in the backend ?
I cannot find anything specific in the docs, there is some examples to include JS in some sites, but I would like to include CSS.
Any advice will be welcome.
Kind regards