Jump to content

Recommended Posts

I am trying to create a module and add .css file that will load styles in the backoffice. I've tried to load another.css for single product page and it works, but I can't make this work for the cms. This is my code:


    public function install()
        if ($this->psversion() == 5 || $this->psversion() == 6)
            if (parent::install() == false or !$this->registerHook('displayHeader') or !$this->registerHook('productFooter') or !$this->registerHook('displayAdminProductsExtra') or !$this->registerHook('actionProductUpdate') or !$this->registerHook('displayBackOfficeHeader'))
                return false;
        return true;
    public function hookDisplayBackOfficeHeader($params)

But can't make the .css file appear. The file is in the right location, it has proper permissions and the owner of the file is www-data:www-data so this shouldn't be a permission issue. I have disable css combinind and caching, before reloading the page I am also deleting the cache just in case as well as I am deleting my brower's cache. Can somebody give me a hand in this?

Share this post

Link to post
Share on other sites
  • 3 months later...

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