Jump to content

Get CMSPages inside a CMS category ? (bug translation?)


rboyart

Recommended Posts

Hello,

 

I'm trying to show the CMSPages inside a CMS category.

 

I found this that worked :

{foreach from=CMS::getCMSPages(1,2,true) item=cmspages }
  <li><a href="{$link->getCMSLink($cmspages.id_cms, $cmspages.link_rewrite)|escape:'htmlall':'UTF-8'}">{$cmspages.meta_title|escape:'htmlall':'UTF-8'}</a>
  </li>
		 
{/foreach}

But, my problem is that I have 3 languages in my site, and it doesn't take care of the translation I made already in the backoffice CMS page.

I think it's a problem with the meta_title, because the 'href' is ok, but the meta_title is always in one language.

Could you see if I'm doing something wrong, I'm using the variable "$cmspages.meta_title"

 

thanks for your help,

 

Rodrigo

 

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