[*] MO : updated module blocksearch for mobile theme
This commit is contained in:
@@ -34,7 +34,7 @@ class BlockSearch extends Module
|
||||
{
|
||||
$this->name = 'blocksearch';
|
||||
$this->tab = 'search_filter';
|
||||
$this->version = 1.0;
|
||||
$this->version = 1.1;
|
||||
$this->author = 'PrestaShop';
|
||||
$this->need_instance = 0;
|
||||
|
||||
@@ -51,6 +51,12 @@ class BlockSearch extends Module
|
||||
return true;
|
||||
}
|
||||
|
||||
public function hookMobileTop($params)
|
||||
{
|
||||
$this->smarty->assign('hook_mobile', true);
|
||||
$this->hookTop($params);
|
||||
}
|
||||
|
||||
public function hookHeader($params)
|
||||
{
|
||||
if (Configuration::get('PS_SEARCH_AJAX'))
|
||||
|
||||
Reference in New Issue
Block a user