本文实例讲述了织梦dedecms二级和三级栏目调用方法。 {dede:channelartlisttypeid=8row=10} div class = tea-cate-con h3 {dede:fieldname=typename/}/ h3 p {dede:sqlsql=Select*fromdede_arctypewherereid=~id~ORDERBYidlimit0,10} a target = _...
织梦判断栏目是否有下级菜单方法: {dede:field name=typeid runphp=yes} global $dsql; $sql = SELECT id From `dede_arctype` WHERE reid=@me And ishidden1 order by sortrank asc limit 0, 100 ; $row = $dsql-GetOne($sql); @me=is_array($row)?有下...