Prestahop (1.4.4.1) 用の 10 個のテンプレートを作成しています。authentication.tpl のようなテンプレート ファイルは、次のものが含まれる場所で停止します。
{include file=$tpl_dir./errors.tpl}
なぜこれが機能しないのかわかりません。{include file="./errors.tpl"}、{include file="errors.tpl"} を試しましたが、結果は同じです。
いつも返信ありがとうございます
Prestahop (1.4.4.1) 用の 10 個のテンプレートを作成しています。authentication.tpl のようなテンプレート ファイルは、次のものが含まれる場所で停止します。
{include file=$tpl_dir./errors.tpl}
なぜこれが機能しないのかわかりません。{include file="./errors.tpl"}、{include file="errors.tpl"} を試しましたが、結果は同じです。
いつも返信ありがとうございます
Prestashop 1.4 はデフォルトで Smarty 3 を使用しています... 試してみてください
{include file="$tpl_dir./errors.tpl"}
テンプレートが smarty $template_dir にあることは確かですか? そうでない場合は、smarty ドキュメントのこのページが役立ちます: http://www.smarty.net/docsv2/en/template.resources.tpl