Display store category in magento? -


i using code display store category in left side .

<?php     foreach ($this->getstorecategories() $_category):  //echo $_category['entity_id'];  //echo $currentcategoryid= $_category->getid();   //echo $this->$_category->getid();?>         <?php //if($currentcategoryid!=37) :?>     <li> <a href="<?php echo $this->getcategoryurl($_category) ?>"<?php if ($this->iscategoryactive($_category)): ?> class="current"<?php endif; ?>><?php echo $this->drawitem($_category) ?></a></li> <?php //endif;  ?> <?php endforeach ?> 

i want category id in loop compare condition. want hide parent category..

thanks


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -