// fix homefeatured

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10879 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mMarinetti committed 2011-12-02 16:42:26 +00:00
1 parent 203b5ae6ad
commit 1cafb7629b
1 file changed
+6 -1
+6 -1
View File
@@ -90,7 +90,12 @@ class HomeFeatured extends Module
return $output; 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')); $category = new Category(Context::getContext()->shop->getCategory(), Configuration::get('PS_LANG_DEFAULT'));
$nb = (int)(Configuration::get('HOME_FEATURED_NBR')); $nb = (int)(Configuration::get('HOME_FEATURED_NBR'));