织梦dedecms子栏目中如何调用其所属顶级栏目的名称和简介

织梦dedecms子栏目中如何调用其所属顶级栏目的名称和简介

顶级栏目的名称及链接: {dede:field name=id runphp=yes} global $cfg_basehost,$cfg_cmspath,$cfg_indexurl; $dsql = new DedeSql(false); $a=SELECT tp.reid FROM dede_arctype as tp where tp.id=@me; $arcRow = $dsql-GetOne($a); @me=$arcRow[reid]; i

联系我们

联系我们

0577-28828765

在线咨询: QQ交谈

邮箱: xwei067@foxmail.com

工作时间:周一至周五,9:00-17:30,节假日休息

返回顶部