Change privatesales menu
This commit is contained in:
parent
ab97adac66
commit
2979dc56a6
@ -38,8 +38,18 @@ class Privatesales_Family_Menu extends Module {
|
||||
fclose($file);
|
||||
}
|
||||
|
||||
// Purchase Guide
|
||||
$purchaseguide = array();
|
||||
if (count($menus) > 0) {
|
||||
foreach ($menus as $m) {
|
||||
$purchaseguide[$m['id_category_family']] = Module::hookExec('topMenuLink',
|
||||
array('id_category_family' => $m['id_category_family']), 141);
|
||||
}
|
||||
}
|
||||
|
||||
$smarty->assign(array(
|
||||
'menus' => $menus
|
||||
'menus' => $menus,
|
||||
'purchaseguide' => $purchaseguide,
|
||||
));
|
||||
return $this->display(__FILE__, 'menu.tpl');
|
||||
}
|
||||
|
@ -53,7 +53,10 @@
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{$purchaseguide[$menu.id_category_family]}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
</li>
|
||||
|
Loading…
Reference in New Issue
Block a user