[-] MO : blocktopmenu : #PSCFV-3762 : Add link for CMS categories
This commit is contained in:
1 parent
094e6bb24a
commit
a2d6144a2e
1 file changed
+1
-1
@@ -541,7 +541,7 @@ class Blocktopmenu extends Module
|
|||||||
$category = new CMSCategory((int)$id, (int)$id_lang);
|
$category = new CMSCategory((int)$id, (int)$id_lang);
|
||||||
if (count($category))
|
if (count($category))
|
||||||
{
|
{
|
||||||
$this->_menu .= '<li><a href="#">'.$category->name.'</a>';
|
$this->_menu .= '<li><a href="'.$category->getLink().'">'.$category->name.'</a>';
|
||||||
$this->getCMSMenuItems($category->id);
|
$this->getCMSMenuItems($category->id);
|
||||||
$this->_menu .= '</li>'.PHP_EOL;
|
$this->_menu .= '</li>'.PHP_EOL;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user