小编给大家分享一下phpcms评论模块出错的解决方法,希望大家阅读完这篇文章后大所收获,下面让我们一起去探讨吧!
phpcms评论模块出错怎么办?
phpcms文章引用评论模块
推荐:laravel教程
首先需要安装评论模块:
然后用<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评论模块出错的解决方法有了一定的了解,想了解更多相关知识,欢迎关注云搜网行业资讯频道,感谢各位的阅读!