devilsown Posted March 27, 2014 Share Posted March 27, 2014 This is an example of adding of linking to a cms page. <li><a href="{$link->getCMSLink('3', 'terms-and-conditions')}" title="{l s='Terms And Conditions' mod='blockpermanentlinks'}">{l s='Terms And Conditions' mod='blockpermanentlinks'}</a></li> I know i can use this for links that are built into prestashop <li><a href="{$link->getPageLink("contact", true)|escape:'html'}" title="{l s='Contact Us' mod='blockpermanentlinks'}">{l s='Contact Us' mod='blockpermanentlinks'}</a></li> How would i link to the main catagory example. http://www.alcohol-injection.com/en/content/category/5-tech-articles Link to comment Share on other sites More sharing options...
vekia Posted March 27, 2014 Share Posted March 27, 2014 you can use $Link object too $link->getCMSCategoryLink(26); where 26 is an id of CMS category. 3 Link to comment Share on other sites More sharing options...
devilsown Posted March 27, 2014 Author Share Posted March 27, 2014 Thanks very much for helping. I didn't know there was a 3rd link that would let me make my urls. Link to comment Share on other sites More sharing options...
vekia Posted March 27, 2014 Share Posted March 27, 2014 yea, there is a lot of other functions to create own links prestashop is very smart system i marked topic title as solved with regards, Milos Link to comment Share on other sites More sharing options...
devilsown Posted March 27, 2014 Author Share Posted March 27, 2014 I did that when i liked your post. yes. I just wish some of these things where easier to find. 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