phpcms评论模块出错怎么办

藏色散人
藏色散人 原创
2020-04-07 09:29:29 1487浏览

phpcms评论模块出错怎么办?

phpcms文章引用评论模块

推荐:laravel教程

首先需要安装评论模块:

b7a14fca9313feac9275a76cb534dcc.png

然后用<iframe>引用

代码:

{if $allow_comment && module_exists('comment')}
<span style="white-space:pre"></span><iframe src="{APP_PATH}index.php?m=comment&c=index&a=init&commentid={id_encode("content_$catid",$id,$siteid)}&iframe=1" width="100%" height="100%" id="comment_iframe" frameborder="0" scrolling="no" height='600'></iframe>
{/if}

以上就是phpcms评论模块出错怎么办的详细内容,更多请关注php中文网其它相关文章!

声明:本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn核实处理。