Jump to content

{include file="some_url/my_tpl_{VAR}.tpl}


Juaners

Recommended Posts

Hello!
I used to use in prestasjop 1.6 variables when I include a tpl like this:

{assign var="ejample_var" value="cms/{cms->id}.tpl"}
{include file=$ejample_var}

but in prestashop 1.7 I can't use something like this:

{assign var="ejample_var" value="cms/cms_{$cms.id}.tpl'"}
{include file="$ejample_var"}

Can anybody help me? pls?

fmohn.jpg

Edited by Juaners (see edit history)
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...