首先需要安装评论模块:
然后用<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}