PHPCMS评论怎么用?
首先在后台的“模块”下的"模块管理"里面找到“评论模块”,对其进行安装;然后在“模块”下的“评论”一项里可以对此模块进行一些功能参数的配置;最后在前台模板添加评论标签即可。
引用代码
{if $allow_comment && module_exists('comment')} <span></span><iframe></iframe> {/if}登录后复制
或
立即学习“PHP免费学习笔记(深入)”;
{pc:content action="lists" catid="$catid" num="25" order="id DESC" page="$page" moreinfo="1"} {loop $data $r} {php $comment_tag = pc_base::load_app_class("comment_tag", "comment"); $comment_total = $comment_tag->count(array('commentid'=>'content_'.$catid.'-'.$r[id].'-'.$modelid));}登录后复制
推荐教程:《PHPCMS教程》
以上就是PHPCMS评论怎么用?的详细内容,更多请关注慧达AI工具网其它相关文章!