innocuous Posted November 20, 2012 Share Posted November 20, 2012 (edited) Hi, I have created a CMS page called size-guide (seo url) It references http://localhost/pre...nt/6-size-guide How can I add this to Permanent links in top header next to contact, sitemap and bookmark? I know we have to edit blockpermanentlinks-header.tpl but what code to add? I tried adding the necessary <a href> but nothing happened. PS 1.5.2, default theme. Edited November 30, 2012 by innocuous (see edit history) Link to comment Share on other sites More sharing options...
arapogiannis Posted November 24, 2012 Share Posted November 24, 2012 same problem here.. please help! Link to comment Share on other sites More sharing options...
Kalyma Posted November 27, 2012 Share Posted November 27, 2012 (edited) Hi there, just put in the tpl this code: <a href="{$link->getPageLink('cms.php?id_cms=ID(number)', true)}"> {l s='text'} </a> =) PS: replace ID(number) with your id of the cms you want to link. Edited November 27, 2012 by Kalyma (see edit history) 1 Link to comment Share on other sites More sharing options...
innocuous Posted November 28, 2012 Author Share Posted November 28, 2012 Thanks! I'll try this out! Is there any information online on how PS 1.5.2 references links? Manufacturers, suppliers, cms, top sellers etc? Link to comment Share on other sites More sharing options...
Kalyma Posted November 28, 2012 Share Posted November 28, 2012 I think should be the same way, but unfortunatly don't tried that version yet. Hope you can find the solution. Greetings! Link to comment Share on other sites More sharing options...
innocuous Posted November 30, 2012 Author Share Posted November 30, 2012 (edited) Got it working with: <li><a href="{$link->getPageLink('cms.php?id_cms=29')}"{if {$smarty.server.REQUEST_URI} == '/content/29-size-guide'} class="active"{/if}>{l s='size guide' mod='tmheaderlinks'}</a></li> only issue is that it doesn't display friendly url link Edited November 30, 2012 by innocuous (see edit history) 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