Jump to content

如何更改$HOOK所调用的内容


Eonsell

Recommended Posts

形象地说,模板文件tpl里的{$HOOK_TOP}是“插座”,模块里的registerHook()是“插头”。不同的模块,利用不同的插头,可以插入不同的插座。请参考classes/Modules.php了解PrestaShop模版和模块之间的调用。

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...