织梦dede:arclist关键词标签keyword动态获取
打开 /include/taglib/arclist.lib.php 找到
$keyword = trim($keyword);
在它下面加入
//织梦dede:arclist关键词标签keyword动态获取 https://www.h3cw.com/ preg_match("/~([A-Za-z0-9_]+)~/s", $keyword, $conditions); if(isset($refObj->Fields[$conditions[1]])) { $keyword = addslashes($refObj->Fields[$conditions[1]]); }
继续找到
$taghash = md5(serialize($ctag).$typeid);
改成
$taghash = md5(serialize($ctag).$typeid.$keyword);