Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Footerlinks
 
XPSM1730
Member
 
Total Posts:  70
Joined:  2008-02-27
 

I want to remove the links which are displayed in frontend/default/default/template/page/template/links.phtml like RSS, site map etc.
Where does it get the links from?

<?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to so we can send you a copy immediately.
*
* @category design_default
* @package Mage
* @copyright Copyright (c) 2004-2007 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
?>
<div class="informational">
<?php echo $this->getChildHtml() ?>
</div>
<p class="legality">
<?php /*
<?php echo $this->__('') ?> - <a href="http://www.magentocommerce.com/bug-tracking" id="bug_tracking_link"><strong><?php echo $this->__('Report All Bugs') ?></strong></a> <?php echo $this->__('(ver. %s)', Mage::getVersion()) ?><br />
<script type="text/javascript\">
$(’bug_tracking_link’).target = “varien_external”;
</script>
*/ ?>
</p>

 
Magento Community Magento Community
Magento Community
Magento Community
 
crius
Guru
 
Avatar
Total Posts:  623
Joined:  2007-10-16
Denmark
 

The “About Us” and “Customer Service” links come from a static block editable from the admin. CMS -> Static Blocks -> Footer Links.

The other links are added by different layout xml files. For example, “Search Terms” and “Advanced Search” are added in catalogsearch.xml. You can remove all the links that are not in the static block by removing this in page.xml:

<block type="page/template_links" name="footer_links" as="footer_links" template="page/template/links.phtml"/>
 
Magento Community Magento Community
Magento Community
Magento Community
 
White_Owl
Jr. Member
 
Avatar
Total Posts:  10
Joined:  2008-06-06
Ukraine
 

Hello. You just need to read this topic http://www.magentocommerce.com/design_guide/articles/intro-to-layouts#head-quick-exercises here is Exercise #2. Here you find answer on your question.

 
Magento Community Magento Community
Magento Community
Magento Community
 
XPSM1730
Member
 
Total Posts:  70
Joined:  2008-02-27
 
Anders Rasmussen - 13 June 2008 02:05 AM

The “About Us” and “Customer Service” links come from a static block editable from the admin. CMS -> Static Blocks -> Footer Links.

The other links are added by different layout xml files. For example, “Search Terms” and “Advanced Search” are added in catalogsearch.xml. You can remove all the links that are not in the static block by removing this in page.xml:

<block type="page/template_links" name="footer_links" as="footer_links" template="page/template/links.phtml"/>

Ahhh thanks, i get it.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top