MonsterM Posted August 10, 2014 Share Posted August 10, 2014 Hello, I have just installed 1.6 and this will be my first post in this forum. I'm struggling to add a new link in the blockcontact in the header. I think that I should do the changes in nav.tpl but not sure how to write in. The only information in nav.tpl today is: <div id="contact-link"> <a href="{$link->getPageLink('contact', true)|escape:'html':'UTF-8'}" title="{l s='Contact Us' mod='blockcontact'}">{l s='Contact us' mod='blockcontact'}</a> </div>{if $telnumber} <span class="shop-phone"> <i class="icon-phone"></i>{l s='Call us now:' mod='blockcontact'} <strong>{$telnumber}</strong> </span>{/if} If I would a link to for example to CMS "About Us", how should I write it? It would be great if someone could help me with this. Kind regards Link to comment Share on other sites More sharing options...
dioniz Posted August 10, 2014 Share Posted August 10, 2014 Hello and Welcome! Put this: <a href="{$link->getPageLink('cms.php?id_cms=4')|escape:'html':'UTF-8'}" title="{l s='About Us' mod='blockcontact'}">{l s='About us' mod='blockcontact'}</a> just after <i class="icon-phone"></i>{l s='Call us now:' mod='blockcontact'} <strong>{$telnumber}</strong> Change 4 in "cms.php?id_cms=4" to whatever ID your CMS page have. 3 Link to comment Share on other sites More sharing options...
MonsterM Posted August 11, 2014 Author Share Posted August 11, 2014 Great! Thank you so very much for your help! You saved my day Link to comment Share on other sites More sharing options...
dioniz Posted August 11, 2014 Share Posted August 11, 2014 You are welcome I'm marking this thread solved Link to comment Share on other sites More sharing options...
Recommended Posts