Tạo link mới trên menu bar

Last modified by xlim5 on Thu, February 12, 2009 20:39
Source|Old Revisions  |  Back To Group

This is an old revision of the document!

Bạn sửa file top.phtml theo đường dẫn app/design/frontend/default/default/template/catalog/navigation/

  <div class="header-nav-container">
        <div class="header-nav">
            <h4 class="no-display"><?php echo $this->__('Category Navigation:') ?></h4>
            <ul id="nav">
            <!-- Link mới -->
            <li><a href="<?php echo $this->getUrl('')?>"><?php echo $this->__('Home') ?></a></li>
            <!-- HOME BUTTON HACK -->
            <?php foreach ($this->getStoreCategories(10) as $_category):?>
           <?php echo $this->drawItem($_category) ?>
            <?php endforeach ?>
        <?php echo $this->getChildHtml('topLeftLinks') ?>


Magento 2 GitHub Repository

Magento Job Board - Some sort of tag line goes here

Latest Posts| View all Jobs