I want to exclude specific catagories from my top menu, but not exclude them from my right menu.
The problem is, i have so many catagories the dont fit in the top menu, so therefore i only want certain catagories to be shown in the top menu and all catagories to be shown in my right column.
I doubt this is the best method however you could put whatever you want in the top menu.
Then create a custom phtml layout to create a block that pulls in all your categories.
Such as:
<div id="block">
<h3>Shop By Category</h3> <?php /* Get the categories that are active for the store */ $_main_categories=$this->getStoreCategories(); /* Get the current category the user is in */ $_current_category=$this->getCurrentCategory(); /* Get the current category path */ $_categorypath = $this->getCurrentCategoryPath(); ?> <ul> <?php if ($_main_categories): /* This bit cycles through the categories - setting the next one to current */ foreach ($_main_categories as $_main_category):
<?php /* This resets the category back to the original pages category **** If this is not done, subsequent calls on the same page will use the last category **** in the foreach loop */ ?>
<?php endif; endforeach; else: ?> <p>$_main_categories array was empty.</p> <p>This might be because you are referencing this phtml file with a wrong type attribute. You should use <block type="catalog/navigation" ... /> !</p> <?php endif; ?> </ul>
</div>
Just note this code may or may not work, its something i did and never tested