PHPCMS评论怎样用?
起首正在后盾的“模块”下的"模块治理"外面找到“评论模块”,对其进行装置;而后正在“模块”下的“评论”一项里能够对此模块进行一些性能参数的设置装备摆设;最初正在前台模板增加评论标签便可。
援用代码
{if $allow_co妹妹ent && module_exists('co妹妹ent')} <span style="white-space:pre"></span><iframe src="{APP_PATH}index.php?m=co妹妹ent&c=index&a=init&co妹妹entid={id_encode("content_$catid",$id,$siteid)}&iframe=1" width="100%" height="100%" id="co妹妹ent_iframe" frameborder="0" scrolling="no" height='600'></iframe> {/if}
或
{pc:content action="lists" catid="$catid" num="25" order="id DESC" page="$page" moreinfo="1"} {loop $data $r} {php $co妹妹ent_tag = pc_base::load_app_class("co妹妹ent_tag", "co妹妹ent"); $co妹妹ent_total = $co妹妹ent_tag->count(array('co妹妹entid'=>'content_'.$catid.'-'.$r[id].'-'.$modelid));} <li><span class="rt">{date('Y-m-d H:i:s',$r[inputtime])}</span>·<a href="{$r[url]}" target="_blank"{title_style($r[style])}>{$r[title]}</a> 评论数:{if $co妹妹ent_total}{$co妹妹ent_total}{else}0{/if}</li> {/loop} {$pages} {/pc}
保举教程:《PHPCMS教程》
以上就是PHPCMS评论怎样用?的具体内容,更多请存眷资源魔其它相干文章!
标签: CMS phpcms phpcms教程 phpcms技巧 php问题解决
版权声明:除非特别标注,否则均为本站原创文章,转载时请以链接形式注明文章出处。
抱歉,评论功能暂时关闭!