Sunday, October 10
How to Edit the Magento Footer & Footer Links
The Magento footer links are collected from a few different layout components:
1. About Us | Customer Service
-> cms.xml
These two links are default static blocks taken from the database. To edit them, go to Magento Admin -> CMS -> Static Blocks.
2. Site Map
-> 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>
3. Search Terms | Advanced Search
-> 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>
4. Contact Us
-> 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>
5. RSS
-> 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 testing</title><prepare>true</prepare><urlParams/><position/><li/>
<a>class=”link-feed”</a>
</action>
</reference>
* 2. Site Map, 3. Search Terms | Advanced Search, 4. Contact Us, and 5. RSS are the HTML links pulled by the function “$this->getLinks()”, not by “$this->getChildHtml(name)”. These links are pulled from a few different places as specified above.
6. To edit the default Magento footer message ” Help Us to Keep Magento Healthy - Report All Bugs (ver. 1.2.1.2) © 2007 Magento Demo Store. All Rights Reserved.”, edit the following file.
-> /app/design/frontend/default/default/template/page/html/footer.phtml
7. To edit the copyright notice,
-> /app/design/frontend/default/default/template/page/html/footer.phtml
Subscribe to:
Post Comments (Atom)
Google Play
Magento Talks now available in Google Play. Please download it from Here
Followers
Hit Counter
Popular Posts
Blog Archive
-
▼
2010
(16)
-
▼
October
(10)
- Magento How to Change the Favicon
- Replacing logo with swf format in Magento
- Remove the Categories and Products through PHPMyAdmin
- How to add Facebook Like button to your product page
- How to use both Horizontal and vertical Navigation...
- How to create a custom page in magento and link it...
- How to Edit the Magento Footer & Footer Links
- How to add new layout in Magento
- Moving / Removing Callouts on the left / right col...
- Magento Installation
-
▼
October
(10)
Feedjit
Subscribe via email
My Blog List
Powered by Blogger.
About Me
- Mohan Natarajan
- Chennai, Tamil Nadu, India
- Hi, this is Mohan Natarajan working as a Senior Software Engineer at DCKAP Technologies.I have completed BE Computer Science and Engineering in Ranipet Engineering College. I did my schooling in Govt Boys Hr Sec School Timiri.(Vellore Dist)
Categories
Text Widget
Pages
Mohan Natarajan Powered by Blogger
No comments:
Post a Comment