Copyright @ 2015-2024 织梦园 版权所有 Power by DedeCms
鲁ICP备15039853号-2

模板标签 TAG标签 网站地图 XML地图 今日更新 返回顶部
***个 : 找到/include/extend.func.php
在底部加入
function GetArcList($id,$result){
global $dsql;
$mnkj = $dsql->GetOne("SELECT * FROM `dede_addon17` where aid='$id'");
$name=$mnkj[$result];
return $name;
}
如图
dede_addon17 是tag输出 模型的 模型附加表
第二步:找到 /include/arc.taglist.class.php
搜索 //处理一些特殊字段
在下面加入
$row["附加字段"]=GetArcList($row["id"],"附加字段");
如图:
在 taglist.htm 的调用 就是 [field:附加字段/]