rambabuy Posted December 27, 2013 Share Posted December 27, 2013 (edited) HI Experts, I want add a link at header right corner like " contact and sitemap" , i am using latest prestashop Please help in this. Thanks Rambabu Edited December 29, 2013 by vekia (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted December 28, 2013 Share Posted December 28, 2013 hello you use default theme? Link to comment Share on other sites More sharing options...
rambabuy Posted December 28, 2013 Author Share Posted December 28, 2013 hello you use default theme? Yes Link to comment Share on other sites More sharing options...
vekia Posted December 29, 2013 Share Posted December 29, 2013 open file: /modules/blockpermanentlinks/blockpermanentlinks-header.tpl there is a code: <ul id="header_links"> <li id="header_link_contact"><a href="{$link->getPageLink('contact', true)|escape:'html'}" title="{l s='contact' mod='blockpermanentlinks'}">{l s='contact' mod='blockpermanentlinks'}</a></li> <li id="header_link_sitemap"><a href="{$link->getPageLink('sitemap')|escape:'html'}" title="{l s='sitemap' mod='blockpermanentlinks'}">{l s='sitemap' mod='blockpermanentlinks'}</a></li> <li id="header_link_bookmark"> <script type="text/javascript">writeBookmarkLink('{$come_from}', '{$meta_title|addslashes|addslashes}', '{l s='bookmark' mod='blockpermanentlinks' js=1}');</script> </li> </ul> to add own link, just add it as a new li object: <li id="header_link_sitemap"><a href="http://example.com" >{l s='example' mod='blockpermanentlinks'}</a></li> Link to comment Share on other sites More sharing options...
rambabuy Posted December 29, 2013 Author Share Posted December 29, 2013 open file: /modules/blockpermanentlinks/blockpermanentlinks-header.tpl there is a code: <ul id="header_links"> <li id="header_link_contact"><a href="{$link->getPageLink('contact', true)|escape:'html'}" title="{l s='contact' mod='blockpermanentlinks'}">{l s='contact' mod='blockpermanentlinks'}</a></li> <li id="header_link_sitemap"><a href="{$link->getPageLink('sitemap')|escape:'html'}" title="{l s='sitemap' mod='blockpermanentlinks'}">{l s='sitemap' mod='blockpermanentlinks'}</a></li> <li id="header_link_bookmark"> <script type="text/javascript">writeBookmarkLink('{$come_from}', '{$meta_title|addslashes|addslashes}', '{l s='bookmark' mod='blockpermanentlinks' js=1}');</script> </li> </ul> to add own link, just add it as a new li object: <li id="header_link_sitemap"><a href="http://example.com" >{l s='example' mod='blockpermanentlinks'}</a></li> Got It Thank You Vekia. Link to comment Share on other sites More sharing options...
vekia Posted December 29, 2013 Share Posted December 29, 2013 you're welcome glad to hear that i could help you a little. i marked whole topic as [solved] with regards, Milos Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now