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

Same template for top and footer links
 
laurent
Member
 
Total Posts:  75
Joined:  2007-08-31
Paris, France
 

Hi,

I noticed that the same template (page/templates/links.phtml) is used for top links and footer links.
Is this normal? a bug?
I know I can create a new template but I think 2 different templates by default are more practical.

---
laurent

 
Magento Community Magento Community
Magento Community
Magento Community
 
alistek
Sr. Member
 
Total Posts:  293
Joined:  2008-04-02
Normal, IL
 

It is just the same code that generates the content depending on what parameter is passed.  It makes more sense to use one to generate both rather than duplicate the code twice.  As far as I can tell it is pulling what to pass to the loop based on the layout XML addLink parameter.

-Adam

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