Phpfox注册页面插件调用

时间:2014-09-18 09:05:17

标签: plugins phpfox

有人可以解释这段代码在phpfox中工作{plugin call =' user.template_default_block_register_step2_7'}

提前致谢。

2 个答案:

答案 0 :(得分:0)

它将在以下位置包含一个块文件,该块文件具有注册页面。

www/projectname/Module/user/template/default/block/register/step2.html

答案 1 :(得分:0)

plugins are works in phpfox as a hook.
to add your custom code with in default phpfox system without changing any file we used plugin.

{plugin call='user.template_default_block_register_step2_7'}

to use this plugin you must create a file name user.template_default_block_register_step2_7.php

in any module even in your custom module.

what ever you write in this file it's automatically added where this plugin call.

you can add multiple plugin with same name in different module.

plugin file path

module_name/include/plugin/