Jump to content

Prestashop 1.7: how to get a cms page id in linkblock.tpl file?


meyer2005

Recommended Posts

Hello,

i want to display the header links in popup. I am trying to modify the linksblock.tpl file but I have a problem with the id of the cms page. Unfortunately I can't get the id of the cms page. I tried with cms.id but I receive the following error in the frontoffice "cms undefined"

{assign var=cms_content value=CMS::getCMSContent({$cms.id}, true, true)}

Can you help me please?

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...