Jump to content

[SOLVED] Top Horizontal Menu not linking HOME (id:2) category


Recommended Posts

But ideally what I wanted to do is link to a page showing all the categories. I have a solution. In the blocktopmenu.php file starting at line 600 comment out 600, 603, 604 & 605
 


//if ($category['level_depth'] > 1) {
    $cat = new Category($category['id_category']);
    $link = Tools::HtmlEntitiesUTF8($cat->getLink());
//} else {
//    $link = $this->context->link->getPageLink('index');
//}
Edited by stuffedhippo (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...