Sharing is helping.

We offer you this space to share your knowledge about Magento and learn from our experienced customers.


    Hi

    I hope i could get a quick answer from you regarding some editing of the top phtml file in hellomix theme

    I installed http://www.magentocommerce.com/magento-connect/navigation-bar-administrator.html

    so i could get non-category pages appear too in the menu.

    On most of the themes it used to work,

    with changing this in top.phtml:

    <div class="nav-container">

    <ul id="nav">

    <!-- HOME BUTTON HACK -->

    <?php $_anyActive = false; foreach ($this->getStoreCategories() as $_category) { $_anyActive = $_anyActive || $this->isCategoryActive($_category); } ?>

    <li class="home <?php echo !$_anyActive ? 'active' : '' ?>">getUrl('')?>"><span><?php echo $this->__('Home') ?></span>

    <!-- HOME BUTTON HACK -->

    <?php echo $_menu; ?>

    </div>

    to:

    <div class="nav-container">
    <ul id="nav">
    <?php
    $aux = Mage::app()->getStore(true)->getId();
    echo $this->helper('navadmin/data')->drawItem($aux);
    ?>
    <?php echo $_menu ?>

    But in this one it isnt working.

    Basically i would like to get 2-3 extra menu to appear, like 'home' and 'articles' and a few more along with categories. The pages are already ready, but cant fix the menu to appear

    Thanks a lot,