Override “setTemplate” Magento xml

strangepolkadot

New Member
In my theme I already use (in local.xml):\[code\]<reference name="top.links"> <action method="setTemplate"><template>page/html/header/links.phtml</template></action></reference>\[/code\]Now I'm making a module where I want to change the template, hence making the module installable without any needs to modify the theme.So almost same code from a module xml-file:\[code\]<reference name="top.links"> <action method="setTemplate"><template>sociallogin/header/links.phtml</template></action></reference>\[/code\]Magento always pick the first one in local.xmlHow can I override this?
 
Back
Top