I need help to modify a menu.
The problem is that I want submenu to be available on one category. But on the other top menus categories they should not show in the drop down from the top menu
(I can not disable them because they are in use in the sidebar navigation).
In the menu file for my theme this is the code:
<div class="nav-container">
<div class="container">
<div class="row">
<div class="col-xs-12">
<ul id="nav" class="sf-menu">
<?php echo $_menu ?>
</ul>
<div class="sf-menu-block">
<div id="menu-icon"><?php echo $this->__('Categories') ?></div>
<ul class="sf-menu-phone">
<?php echo $_menu ?>
</ul>
</div>
</div>
</div>
<div class="clear"></div>
</div>
I have also tried to modify Navigation.php with no success. My Magento knowledge is not 100%.
I have search forums but can not find exactly what I need. Any guidance would be appreciated.
=> EDIT:
Can it be in this file navigation.php?
public function getCurrentChildCategories()
{
if (null === $this->_currentChildCategories) {
$layer = Mage::getSingleton('catalog/layer');
$category = $layer->getCurrentCategory();
$this->_currentChildCategories = $category->getChildrenCategories();
$productCollection = Mage::getResourceModel('catalog/product_collection');
$layer->prepareProductCollection($productCollection);
$productCollection->addCountToCategories($this->_currentChildCategories);
}
return $this->_currentChildCategories;
}
