phpcms评论模块出错的解决方法

phpcms评论模块出错怎么办?

phpcms文章引用评论模块

推荐:laravel教程

首先需要安装评论模块:

phpcms评论模块出错的解决方法

然后用<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}

原创文章,作者:IHPPT,如若转载,请注明出处:https://www.wangzhanshi.com/n/17482.html

(0)
IHPPT的头像IHPPT
上一篇 2025年1月2日 12:44:21
下一篇 2025年1月2日 12:44:23

相关推荐

发表回复

登录后才能评论