织梦cmslikearticle有关文本文档标识启用额外自定字

  处理方法
  开启 include/taglib/likearticle.lib.php 寻找  
$fields = explode( , ,$refObj- ChannelUnit- ChannelInfos[ listfields foreach($fields as $k= $v) $nfields[$v] = $k; foreach($refObj- ChannelUnit- ChannelFields as $k= $arr) if(isset($nfields[$k])) if(!empty($arr[ rename ])) $addField .= , .$addtable. . .$k. as .$arr[ rename else $addField .= , .$addtable. . .$k; }
{dede:likearticle row= 10 col= titlelen= len= 200 } a href= [field:arcurl/] [field:title/] /a p 价钱:¥[field:jiage/] /p {/dede:likearticle}