Magento – URL links in the footer to adapt

Picture

Usually in the footer are some links to find. A few of them (here z.B. Imprint, Terms and Customer Service) come from a static block (usually “footer_links”). This can be changed quickly and easily. If, however, the other links, come to change the template, this is a little harder.

I was in my case the URL “Contact us” bring to a separate page and not the CMS Contacts by Magento (see also this post to your own contact CMS pages).

The URL of the link is found, unfortunately, not as fast as the CMS links. But if one looks, there are usually also the answer. In this case, it is an XML file, the folder

/app / design / frontend /[base or default]/[IhrTemplate]/layout

lag. And indeed, appropriately, the

contacts.xml

This must then be looked, where the link is called and it was with me in the line 31

<action method=”addLink” translate=”title label” module =”contacts” ifconfig =”contacts/contacts/enabled”><label>Contact Us</label><url>contacts</url><title>Contact Us</title><prepare>true</prepare></action>

I wanted, that the link to my CMS page “contact” (without s) points and they have therefore converted into the:

<action method=”addLink” translate=”title label” module =”contacts” ifconfig =”contacts/contacts/enabled”><label>Contact Us</label><url>contact</url><title>Contact Us</title><prepare>true</prepare></action>

Then save as usual, Upload, evtl. Clear cache and then the link was changed.

Used in Magento Version 1.5.1.0 Comments? Additions? Notes? Gladly!

Published by Covos

Since 2009 I have been working intensively with Magento. I started with the creation and operation of B2C stores. This was extended through my work in the logistics sector. This resulted first specialized B2E systems. Today I work day-a day with exciting B2C, B2B- and B2E projects and reports in this blog about challenges and give insider tips.

2 comments on “Magento – URL links in the footer to adapt”

  1. Hi,

    m not quite sure if I'm right here, But times have a try because I see that you're busy with a lot of the contact page. My problem: I use no contact page special “Widget” (I call times, But probably none) which appears in the footer. Is not stored in a S.Block, but directly accesses the “Contact” Settings in the backend or. basically works just like the contact page that I can call up contact / index. Unfortunately, sends me the “Widget” no emails, what about the contact page but goes, all UK-mails etc. work.

    Do you have an idea what's wrong with it?

    Thank you!

    1. Hello hello!
      With the information I can not only answer: No 🙂

      Briefly state the reasons:
      1. Which widget (or whatever it is)?
      2. Welche Magento Version?

      Best Regards

Leave a Reply

Your email address will not be published. Required fields are marked *