Eonsell Posted August 29, 2010 Share Posted August 29, 2010 比如我想更{$HOOK_TOP}所调用的里面的内容,这个{$HOOK_TOP}里面是些html代码,现在我想更改里面html代码的布局,请问我要到哪里更改? 谢谢 Link to comment Share on other sites More sharing options...
21846657 Posted August 30, 2010 Share Posted August 30, 2010 形象地说,模板文件tpl里的{$HOOK_TOP}是“插座”,模块里的registerHook()是“插头”。不同的模块,利用不同的插头,可以插入不同的插座。请参考classes/Modules.php了解PrestaShop模版和模块之间的调用。 Link to comment Share on other sites More sharing options...
Eonsell Posted August 30, 2010 Author Share Posted August 30, 2010 谢谢您的回复,有没有中文简单形象一点的介绍信息呢?我的英文水平有点低所以看起英文的专业描述有些吃力,而且我的PHP水平也相当的有限. 谢谢 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now