Does anybody know where I can find the template on the image below?
I need to add social buttons under login but I don't know where to find the template I'm using RWD Theme of Magento Enterprise 1.4
Hope you can help me.
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.Sign up to join this community
There isn't a template, as such.
The links are created by this line (~ line 98 or so)
<?php echo $this->getChildHtml('topLinks') ?>
That name is referenced in page.xml (~ line 93)
<block type="page/template_links" name="top.links" as="topLinks"/>
Which leads back to Mage_Page_Block_Template_Links.php.
So, you will need to add any more links via your local.xml - something like:
<action method="addLink" translate="label title"> <label>About Us</label> <url>about-us</url> <title>About Us</title> <prepare>true</prepare> <urlParams helper="core/url/getHomeUrl"/> <position>1</position> <liParams>id="about-us-li"</liParams> <aParams>class="top-link" id="about-us-top-link"</aParams> <beforeText/> <afterText>|</afterText> </action>
The added links would go inside of a reference to the topLinks block -
<block type="page/template_links" name="top.links" as="topLinks"/> <action method="addLink" translate="label title"> ... *link code goes here* ... </action>
There is an explanation / tutorial here
I wish there were better news, but unfortunately I think that is the best way of handling it. Of course, if someone else has a shortcut I am all ears!
You could replace the links template totally and create something of your own with social logos, etc, but that would involve changing the original xml reference as well.
I hope this is helpful. Good luck!