织梦/DEDECMS修改按tag标签显示全站相关内容
在文章中依然用官方原有的标记{dede:likearticle col=” row=” titlelen=”}
找到文件:\include\taglib\likearticle.lib.php
找到代码:
$typeid = " And arc.typeid in($typeid) And arc.id<>$arcid ";
修改为:
$typeid = " And arc.id<>$arcid ";
保存,再更新就搞定了
在文章中依然用官方原有的标记{dede:likearticle col=” row=” titlelen=”}
找到文件:\include\taglib\likearticle.lib.php
找到代码:
$typeid = " And arc.typeid in($typeid) And arc.id<>$arcid ";
修改为:
$typeid = " And arc.id<>$arcid ";
保存,再更新就搞定了