Revision: 12556
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at March 18, 2009 18:45 by Bluewall
Initial Code
this code works for vertical navigation category� <?php /** * Top menu for store * * @see Mage_Catalog_Block_Navigation */ ?> <div class=�box_mini_vert�> <div id=�vertical-nav-container �> <?php foreach ($this->getStoreCategories() as $_category): ?> <?php foreach ($this->getCurrentChildCategories() as $_categories): ?> /*in this line $_categories->getUrl() is present so you can get link of your categories*/ <ul class=�vert_left_list_style�> <li><b><?php echo �<br/>� ?><a href=�<?php echo $_categories->getUrl() ?>�><?php echo $_categories->getName(); ?></a></b></li> </ul> <ul> <?php foreach ($_categories->getChildren() as $childcategory):?> <?php echo $this->drawItem($childcategory) ?> <?php endforeach; ?> </ul> <?php endforeach; ?> </div> </div>
Initial URL
http://freecoderesources.wordpress.com/2009/02/26/magento-vertical-navigation-category-with-links/
Initial Description
Initial Title
magento: vertical navigation category with links
Initial Tags
magento
Initial Language
PHP