谁能告诉我为什么在phpfox\module\video\template\default\block\entry.html.php文件中调用{plugin call='video.template_block_entry_1'}?
发布于 2016-08-04 23:03:33
这是一个钩子,它允许其他模块将其代码插入到此文件中。例如,在其他模块中,我们可以在模块/模块名/包含/插件/中创建一个新的文件名: video.template_block_entry_1.php,其中包含:
<?php echo "Hello world";更多文本hello world将包含到entry.html.php
https://stackoverflow.com/questions/36264641
复制相似问题