dedecms调用顶级栏目{dede:channel type="top" current}
  • [field:typename/]
  • {/dede:channel}dedecms调用同级栏目{dede:channel current}
  • [field:typename/]
  • {/dede:channel}dedecms调用指定栏目的子栏目{dede:channel type="son" typeid="3"}
  • [field:typename/]
  • {/dede:channel}dedecms调用顶级栏目及其子栏目{dede:channelartlist typeid="top"}

  • {dede:field name="typename"/}
  • {/dede:channelartlist}dedecms调用当前栏目{dede:type}[field:typename/]{/dede:type}dedecms循环输出指定栏目下的子栏目内容{dede:channelartlist type="son" typeid="1"}{dede:field.content/}{/dede:channelartlist}dedemcs栏目页调用栏目内容{dede:field.content/}任意页面调用栏目内容{dede:sql sql="Select content from dede_arctype where id=2"}[field:content function="cn_substr(@me,236)"/]{/dede:sql}

    推荐内容