Jump to content

Recommended Posts

Bonjour à tous,

Je souhaite deplacer le module réassurance dans le hook top column.

Cependant celui s'affiche correctement (avec mes modifications css) que si il est aussi affiché dans le footer.

J'ai l'impression que ce dernier ne prends pas en compte le CSS.

Dans le fichier tpl du module  j'ai ajouté 

public function hookdisplayTopColumn($params){
			$this->context->controller->addCSS($this->_path.'style1.css', 'all');
			if (!$this->isCached('blockreinsurance.tpl', $this->getCacheId()))
				$infos = $this->getListContent($this->context->language->id);
				$this->context->smarty->assign(array('infos' => $infos, 'nbblocks' => count($infos)));
			return $this->display(__FILE__, 'blockreinsurance.tpl', $this->getCacheId());


Votre aide est la bienvenue !

Share this post

Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More