0

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

提前致谢。

4

2 回答 2

1
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/
于 2014-09-19T17:36:20.303 回答
0

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

www/projectname/Module/user/template/default/block/register/step2.html
于 2014-09-18T13:01:16.123 回答