Reputation: 678
I'm making a ten template for Prestahop (1.4.4.1). Any template file like authentication.tpl dies where is include:
{include file=$tpl_dir./errors.tpl}
I don't know why this is not working. I tried {include file="./errors.tpl"}, {include file="errors.tpl"} but result is same.
Thanks for every reply
Upvotes: 2
Views: 1287
Reputation: 509
Prestashop 1.4 uses Smarty 3 as default... so try
{include file="$tpl_dir./errors.tpl"}
Upvotes: 2
Reputation: 576
Are you sure that your template is located in your smarty $template_dir? If not, this page from the smarty documentation could help you: http://www.smarty.net/docsv2/en/template.resources.tpl
Upvotes: 1