Magento Expert Forum - Improve your Magento experience

Page 1 of 2 12 LastLast
Results 1 to 20 of 25

How to edit footer links in magento?

  1. #1
    Moderator shunavi's Avatar
    Join Date
    Mar 2013
    Posts
    124
    Thanks
    9
    Thanked 26 Times in 17 Posts

    Thumbs up How to edit footer links in magento?

    Change the footer links in magento is quite easy but I believe many people who get started with magento will need it. Here is a quick tutorial, hope it will help you guys.

    The first step is to login to the administrator back-end of the store:

    Code:
    http://yourdomain.com/index.php/admin
    If you have installed magento under a subfolder of the www root folder for an example “store” you should add this directory name before the index.php.

    As we are using the default Magento template the footer links look like this:


    Note that only the About Us and the Customers Service links are manageable via the footer static block.

    However most of the templates available will use the same Identifier for the footer. After you have logged in the magento back-end, allow it to render completely and navigate to the CMS Static Blocks tab:


    As we are using an empty magento installation for this tutorial only the “footer_links” block is available. Now click on the name of the block and this will load the editor for it:


    You have an advanced html editor enabled by default. If you would prefer to add html code you created for the footer you may disable the editor functions and use plain one via the “Show/Hide Editor” button.

    After you have completed editing the links for the footer click the “Save Block” button available at the  top right corner of the page and navigate back to the front-end. You should refresh the page to see the changes you have set.  

    View more threads in the same category:


  2. The Following 2 Users Say Thank You to shunavi For This Useful Post:

    balwant (12-08-2014),Kathy Daunt (01-08-2014)

  3. #2
    New member arianna143's Avatar
    Join Date
    Apr 2014
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Great!!! If sometimes I would have the same problems then I will follow your instructions.

  4. #3
    Junior Member Gowebbaby's Avatar
    Join Date
    May 2014
    Location
    700 LOWER STATE RD, 19B3 NORTH WALES, PA 19454
    Posts
    42
    Thanks
    1
    Thanked 4 Times in 4 Posts

    Default

    Hi all,
    If you want to edit footer links in magento so,You can edit easily from css Put code below related to this.
    This is looking for xml layout instructions with a reference named "footer". We find one appearance in cms.xml.

    <reference name="footer">
    <block type="cms/block" name="cms_footer_links" before="footer_links">
    <!--
    The content of this block is taken from the database by its block_id.
    You can manage it in admin CMS -> Static Blocks
    -->
    <action method="setBlockId"><block_id>footer_links</block_id></action>
    </block>
    </reference>


    Hire Magento Developer at gowebbaby

  5. The Following User Says Thank You to Gowebbaby For This Useful Post:

    Kathy Daunt (01-08-2014)

  6. #4
    New member
    Join Date
    May 2014
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Change footer links in magento

    Great explanation with snapshot!

    We have to follow below steps to change footer links in magento store then go to Admin.

    1. Search for “CMS” from the top of the Menu
    2. Click on Static Blocks
    3. Change as per your requirements
    4. And click on Save.
    5. You are done

  7. #5
    Junior Member Kathy Daunt's Avatar
    Join Date
    May 2013
    Posts
    66
    Thanks
    10
    Thanked 4 Times in 4 Posts

    Default

    Thank you so much Shunavi. This sort of screenshots will help the newbies and readers greatly to know better. User related content.
    Thanks
    Kathy

  8. #6
    Junior Member balwant's Avatar
    Join Date
    Jul 2014
    Posts
    107
    Thanks
    1
    Thanked 5 Times in 5 Posts

    Default

    kathy you are right ,this post would be helpful specially for newbie. Shunavi keep writing such good post.

  9. #7
    Junior Member
    Join Date
    Aug 2014
    Posts
    24
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    To remove or Edit magento Footer links Orders and Returns is very simple,By default your Magento 1.7.0.2 store will have various links such as Site Map, Seach Terms and Advanced search and Contact Us and Orders and Returns.You can remove Orders and Returns links from

  10. #8
    Junior Member
    Join Date
    Oct 2014
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Create a custom block and add it to footer replacing the default one.

  11. #9
    Junior Member thaonvp's Avatar
    Join Date
    Mar 2015
    Posts
    42
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    Your article really useful. I am very glad to learn about this issue. Thanks

  12. #10
    New member
    Join Date
    Mar 2015
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi shunavi,

    your article is more useful to the newcomer and also who faced this issue can understand easily.


    Thanks & Regards
    Saga Biz Solutions

  13. #11
    Junior Member Cms_ideas's Avatar
    Join Date
    Jun 2014
    Location
    https://cmsideas.net
    Posts
    385
    Thanks
    1
    Thanked 7 Times in 7 Posts

    Default

    Great!!! If sometimes I would have the same problems then I will follow your instructions.

  14. #12
    Junior Member CedCommerce's Avatar
    Join Date
    Jan 2016
    Location
    INDIA
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi,

    Great article. Found some useful information on this topic on the below link.

    http://tomrobertshaw.net/2010/06/how...ks-in-magento/

    Thanks

  15. #13
    Expert
    Join Date
    Mar 2016
    Location
    india
    Posts
    570
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    Hi,

    Magento’s XML layout and template framework and the flexibility that it brings is awesome, but unfortunately it does come with its own learning curve. This can take some time getting used to if you’re unfamiliar with Zend Framework and can turn the most trivial of tasks like modifying the links in the footer of a page somewhat more involved.

    So let’s have a look at template/page/html/footer.phtml

    You will be able to see that this gives us the footer div and loads most of the content through:

    <?php echo $this->getChildHtml() ?>

    This is looking for xml layout instructions with a reference named “footer”. We find one appearance in cms.xml.

    <reference name="footer">
    <block type="cms/block" name="cms_footer_links" before="footer_links">
    <!--
    The content of this block is taken from the database by its block_id.
    You can manage it in admin CMS -> Static Blocks
    -->
    <action method="setBlockId"><block_id>footer_links</block_id></action>
    </block>
    </reference>

    As the comment explains, this merely defines that there is a static block available, named “footer_links” and its content is defined in Magento Admin->CMS->Static Blocks.

    You can change the static block that is loaded by updating the block id with the name of your block.

    You can then create your list of links as appropriate in the Magento backend, the default footer block contains:

    <ul>
    <li><a href="">About Us</a></li>
    <li class="last"><a href="">Customer Service</a></li>
    </ul>

    There are a couple of reasons why it’s great to edit the footer links in this way. One is that the store owner can easily change the footer at a later date without needing a professional to hand. Another, is the flexibility to add different content if you so wish, it doesn’t have to be a simple list of links.

    Another block with a “footer” reference can be found in page.xml:

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

    In the page/template/links.phtml file we can see a function call to $this->getLinks();

    The structure for this Block is in

    /app/code/core/Mage/Page/Block/Template/Links.php

    Now layouts can add links to this structure. So if we take a quick grep of the layout files for block name “footer_links”, we can see what else is adding items to the footer links by the addLink method.

    layout/rss.xml

    <reference name="footer_links">
    <action method="addLink" translate="label title" module="rss" ifconfig="rss/config/active"><label>RSS</label><url>rss</url><title>RSS</title><prepare>true</prepare><urlParams/><position/><li/><a>class="link-rss"</a></action>
    </reference>

    layout/catalog.xml

    <reference name="footer_links">
    <action method="addLink" translate="label title" module="catalog" ifconfig="catalog/seo/site_map"><label>Site Map</label><url helper="catalog/map/getCategoryUrl" /><title>Site Map</title></action>
    </reference>

    layout/catalogsearch.xml

    <reference name="footer_links">
    <action method="addLink" translate="label title" module="catalogsearch" ifconfig="catalog/seo/search_terms">
    <label>Search Terms</label>
    <url helper="catalogsearch/getSearchTermUrl" />
    <title>Search Terms</title>
    </action>
    <action method="addLink" translate="label title" module="catalogsearch">
    <label>Advanced Search</label>
    <url helper="catalogsearch/getAdvancedSearchUrl" />
    <title>Advanced Search</title>
    </action>
    </reference>

    layout/contacts.xml

    <reference name="footer_links">
    <action method="addLink" translate="label title" module="contacts" ifconfig="contacts/contacts/enabled"><label>Contact Us</label><url>contacts</url><title>Contact Us</title><prepare>true</prepare></action>
    </reference>

    Now that you know where each of these are defined you can remove them if necessary in your theme. Of course, you have now realised that this is also a second method for adding footer links! The advantage of this method is that if all you need is another link, it doesn’t require you to go into the Admin interface to add new cms block. It all can be done in xml files rather than being in the database.

  16. #14
    Junior Member
    Join Date
    Jan 2016
    Location
    Rajkot, Gujarat, India
    Posts
    20
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    Hi,

    go to : app/design/frontend/rwd/default/layout/page.xml

    and find for footer so you will rich at footer section.

    Make local.xml - if you don;t create at and then remove quick link and my account section

    <?xml version="1.0"?>
    <layout version="0.1.0">
    <default>
    <reference name="footer">
    <remove name="footer_links"/>
    <remove name="footer_links2"/>
    </reference>
    </default>
    </layout>

    Adding more in to local.xml

    <?xml version="1.0"?>
    <layout version="0.1.0">
    <default>
    <reference name="footer">
    <remove name="footer_links"/>
    <remove name="footer_links2"/>
    <block type="cms/block" name="footer_posts">
    <action method="setBlockId"><block_id>footer_posts</block_id></action>
    </block>
    <block type="cms/block" name="footer_news">
    <action method="setBlockId"><block_id>footer_news</block_id></action>
    </block>
    </reference>
    </default>
    </layout>

    Thanks

  17. The Following User Says Thank You to jameswarner For This Useful Post:

    taylorrosemarie (08-07-2016)

  18. #15
    New member
    Join Date
    Jul 2016
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Để xóa hoặc sửa Magento Footer kết Đơn đặt hàng và lợi nhuận là rất đơn giản, bởi mặc định cửa hàng Magento 1.7.0.2 của bạn sẽ có nhiều liên kết

  19. #16
    Junior Member knowband.plugins's Avatar
    Join Date
    Jul 2016
    Location
    Noida, India
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Magento footer links are in footer static blocks. To edit footer links you have to edit the footer static blocks. First login into your magento backend. You will have to go to CMS -> Static blocks. In the identifier column search 'footer' keyword. You will find footer_links block there. All your footer links are in it. In its general tab you will find various things like Block Title, Identifier, Status, Content. You have to edit the content section. Make all the necessary changes. After making changes do not forget to clear cache.

    Hope you find this helpful.

    Regards,

    Knowband Plugins | Buy Best Magento Extensions

  20. #17
    Expert
    Join Date
    Mar 2016
    Location
    india
    Posts
    570
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    Thanks! Great Information.

  21. #18
    Junior Member aishwaryaV's Avatar
    Join Date
    Sep 2018
    Location
    Noida, India
    Posts
    31
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    The footer links may differ from template to template. You can find them in the Magento admin panel -> CMS -> Static blocks. Each Magento store includes static blocks called Footer Links.

    The static blocks code looks as follows:
    <ul>
    <li><a href="{{store direct_url="about"}}">About Us</a></li>
    <li><a href="{{store direct_url="customer-service"}}">Customer Service</a></li>
    <li><a href="{{store direct_url="template-settings"}}">Template Settings</a></li>
    <li class="last privacy"><a href="{{store direct_url="privacy-policy-cookie-restriction-mode"}}">Privacy Policy</a></li>
    </ul>

    and Footer List
    <h4>Why buy from us</h4>
    <div class="footer-col-content">
    <ul>
    <li><a href="#">Shipping & Returns</a></li>
    <li><a href="#">Secure Shopping</a></li>
    <li><a href="#">International Shipping</a></li>
    <li><a href="#">Affiliates</a></li>
    <li><a href="#">Group Sales</a></li>
    </ul>
    </div>
    <h4>My account</h4>
    <div class="footer-col-content">
    <ul>
    <li><a href="{{store url='customer/account/login/'}}">Sign In</a></li>
    <li><a href="{{store url='checkout/cart/'}}">View Cart</a></li>
    <li><a href="{{store url='wishlist/'}}">My Wishlist</a></li>
    <li><a href="#">Track My Order</a></li>
    <li><a href="#">Help</a></li>
    </ul>
    </div>

    Hope this helps !

  22. The Following User Says Thank You to aishwaryaV For This Useful Post:

    Michael Amaral (27-02-2019)

  23. #19
    Junior Member
    Join Date
    May 2018
    Posts
    52
    Thanks
    0
    Thanked 3 Times in 2 Posts

    Default

    To remove or Edit magento Footer links Orders and Returns is very simple,By default your Magento 1.7.0.2 store will have various links such as Site Map, Seach Terms and Advanced search and Contact Us and Orders and Returns.

  24. #20
    Junior Member aishwaryaV's Avatar
    Join Date
    Sep 2018
    Location
    Noida, India
    Posts
    31
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    CHANGE THE FOOTER LINKS

    • You can change the footer links block title as well.
    • Log into your Magento admin and go to the Content > Blocks section.
    • Find the footer column e.g. Footer column content 2 block and open it to edit (select Edit from the Action option dropdown).
    • You will see CMS block settings interface. Move to the content section.
    • Find the e.g. <h4>Why buy from us</h4> line. You need to replace the Why buy from us with your title. ( <h4>Your title</h4> )
    • Click on the Save Block button.

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

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