Jump to content

[SOLVED] how to get CMS link getcmslink for catagory?


Recommended Posts


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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...