Jump to content

[solved] CMS subpages


renegadeok

Recommended Posts

i mean that {CMS::getCMSPages($cookie->id_lang, $cms->id_cms_category)} is an array with elements

in this case foreach loop is necessary

 

PpCDQ6Y.png

 

{foreach from=CMS::getCMSPages($cookie->id_lang, $cms->id_cms_category) item=cat}
this is {$cat.name}
{/foreach}

 

hope i understood everything here, in this thread well ;) if no, please correct me :D

Link to comment
Share on other sites

Thanks for being so prompt.

 

It needs a loop indeed, but {$cat.name} returns empty; probably it's not a property name. I'm trying to figure out which one I should use (of course, if I manage to list my object).

 

Again, thanks to both vekia and Nemo1

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