From bcdf4405237aaa31281905be49aafd0b9f6acf7d Mon Sep 17 00:00:00 2001 From: mMarinetti Date: Fri, 2 Dec 2011 16:42:26 +0000 Subject: [PATCH] // fix homefeatured --- modules/homefeatured/homefeatured.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/homefeatured/homefeatured.php b/modules/homefeatured/homefeatured.php index 9146b0897..9f6e06dea 100644 --- a/modules/homefeatured/homefeatured.php +++ b/modules/homefeatured/homefeatured.php @@ -90,7 +90,12 @@ class HomeFeatured extends Module return $output; } - function hookHome($params) + public function hookDisplayHeader($params) + { + $this->context->controller->addCss($this->_path.'homefeatured.css'); + } + + public function hookDisplayHome($params) { $category = new Category(Context::getContext()->shop->getCategory(), Configuration::get('PS_LANG_DEFAULT')); $nb = (int)(Configuration::get('HOME_FEATURED_NBR'));