打开include/taglib/type.lib.php文件
默认的sql检索的字段中没有description,添加description字段后为SELECT
id,typename,typedir,description,content,isdefault,ispart,defaultname,namerule2,moresite,siteurl,sitepath FROM `dede_arctype` WHERE id='$typeid'"
前端代码调用
{dede:type typeid='1'}[field:description/]{/dede:type}
织梦的sql标签调用
{dede:sql sql='Select description from dede_arctype where id=1'}
[field:description/]