如何在Prestashop 1.7.1.1中覆盖tpl模块 [英] how to override tpl module in prestashop 1.7.1.1

查看:76
本文介绍了如何在Prestashop 1.7.1.1中覆盖tpl模块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

im试图覆盖ps_categorytree模块的tpl,但是没有用 我试图将文件放在这样的覆盖下:

im trying to override the tpl of ps_categorytree module, but it didn't work i tried to put the file under override like this:

override/themes/laber_ethan_home5/modules/ps_categorytree/views/templates/hook/ps_categorytree.tpl

-im使用 prestashop 1.7.1.1,我买了一个主题.

-im using prestashop 1.7.1.1 and i bought a theme.

请帮助!

推荐答案

您无需将其放置在override文件夹中,只需使用活动主题中的modules文件夹即可.放置tpl文件的正确方法是:

you don't need to put this in override folder, simply use the modules folder that is in the active theme. The correct way to put your tpl file is:

/themes/laber_ethan_home5/modules/ps_categorytree/views/templates/hook/ps_categorytree.tpl

希望它能帮助您,再见.

Hope it helps you, bye.

这篇关于如何在Prestashop 1.7.1.1中覆盖tpl模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆