覆盖管理选项模板 (options.tpl) - prestashop

override admin options template (options.tpl) - prestashop

我正在尝试覆盖选项模板 (options.tpl) 主题的助手 class 和默认的管理主题。

[管理员目录]/themes/default/template/controllers/themes/helpers/options/options.tpl

顺便说一句,我正在尝试使用我正在处理的模块来覆盖。问题是我无法找到我需要重写以提供新 tpl 文件的新路径的控制器。

我试图通过将新的 tpl 文件放入

来覆盖它

模块/[my_module]/views/templates/admin/controllers/themes/helpers/options/options.tpl

你有什么想法吗?

谢谢

我可以通过找到管理员覆盖 options.tpl \admin\themes\default\template\controllers\themes\helpers\options\options.tpl

并复制到(必要时创建文件夹) /override/controllers/admin/templates/helpers/options/options.tpl

转到高级参数 --> 性能 --> 并检查 "Recompile templates if the files have been updated" 然后清除缓存 ...