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!
Results 1 to 4 of 4
Thread: Editing the Footer Menu
-
01-04-2012, 10:55 PM #1
Unlicensed member
- Join Date
- Jun 2011
- Posts
- 19
- Downloads
- 143
- Uploads
- 0
Editing the Footer Menu
-
01-08-2012, 03:54 PM #2
AdministratorÂ
- Join Date
- Apr 2010
- Posts
- 192
- Downloads
- 11
- Uploads
- 145
Hello itzikzax,
Just go to back-end and select CMS >>> Static Block >>> Footer Links >>> Edit >>> change the link yourself.
Kind regards
-
01-08-2012, 04:27 PM #3
Unlicensed member
- Join Date
- Jun 2011
- Posts
- 19
- Downloads
- 143
- Uploads
- 0
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.
-
01-09-2012, 03:32 AM #4
AdministratorÂ
- Join Date
- Apr 2010
- Posts
- 192
- Downloads
- 11
- Uploads
- 145
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:
Save, clear the store cache and refresh the front-end to see the result.<?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; ?>
Kind regards


Reply With Quote