Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2011
    Posts
    19
    Downloads
    143
    Uploads
    0

    Default Editing the Footer Menu

    Hi,

    I would like to edit the footer menu (about us, customer service, site map etc.). Is there an easy way to do it? I would like to remove some of the links, and add some other links instead. I've no idea what file (I hope it's just one file) I need to edit.

    Please help!

  2. #2
    Join Date
    Apr 2010
    Posts
    192
    Downloads
    11
    Uploads
    145

    Default

    Hello itzikzax,

    Just go to back-end and select CMS >>> Static Block >>> Footer Links >>> Edit >>> change the link yourself.

    Kind regards

  3. #3
    Join Date
    Jun 2011
    Posts
    19
    Downloads
    143
    Uploads
    0

    Default

    Hi David,

    The footer links block will only edit some of the links. I would like to remove some of the links (advance search, contact us etc.). Is there a specific file I can edit in order to remove unnecessary links?

    Please advice.

  4. #4
    Join Date
    Apr 2010
    Posts
    192
    Downloads
    11
    Uploads
    145

    Default

    Hello Itzikzax,

    Just step by step:

    1. Create a new folder called "template" in "app/design/frontend/default/mt_Yoming/template/page/" folder

    2. Copy links.phtml file from "app/design/frontend/base/default/template/page/template" to the "app/design/frontend/default/mt_Yoming/template/page/template" folder

    3. Open links.phtml file and remove the following code:

    <?php $_links = $this->getLinks(); ?>
    <?php if(count($_links)>0): ?>
    <ul class="links"<?php if($this->getName()): ?> id="<?php echo $this->getName() ?>"<?php endif;?>>
    <?php foreach($_links as $_link): ?>
    <?php if ($_link instanceof Mage_Core_Block_Abstract):?>
    <?php echo $_link->toHtml() ?>
    <?php else: ?>
    <li<?php if($_link->getIsFirst()||$_link->getIsLast()): ?> class="<?php if($_link->getIsFirst()): ?>first<?php endif; ?><?php if($_link->getIsLast()): ?> last<?php endif; ?>"<?php endif; ?> <?php echo $_link->getLiParams() ?>><?php echo $_link->getBeforeText() ?><a href="<?php echo $_link->getUrl() ?>" title="<?php echo $_link->getTitle() ?>" <?php echo $_link->getAParams() ?>><?php echo $_link->getLabel() ?></a><?php echo $_link->getAfterText() ?></li>
    <?php endif;?>
    <?php endforeach; ?>
    </ul>
    <?php endif; ?>

    Save, clear the store cache and refresh the front-end to see the result.

    Kind regards

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •