在进行网站后期程序建设的时候,我们通常会用到调取三级栏目的标签,今天成都网站建设创新互联就在这里向大家介绍一下关于dedecms调用三级菜单的应用
代码如下:
创新互联-专业网站定制、快速模板网站建设、高性价比敖汉网站开发、企业建站全套包干低至880元,成熟完善的模板库,直接使用。一站式敖汉网站制作公司更省心,省钱,快速模板网站建设找我们,业务覆盖敖汉地区。费用合理售后完善,十余年实体公司更值得信赖。
{dede:type typeid='3' row='1'}[field:typename/]{/dede:type}(这里是导航菜单的当前栏目)
- {dede:field name='typename'/}
- [field:typename/]
{dede:sql sql='Select * from dede_arctype where reid=~id~' order by id }
{/dede:sql}
- [field:typename/]
Sql='Select from * dede_arctype where reid=~id~'order by ID {dede:sql}
Href= [field:typedir "function='str_replace {cmspath} ("
{/dede:sql}
{/dede:channel}
-- >
{dede:channelartlist typeid=''}
{/dede:channelartlist}
In the later website construction program, we usually use the transfer of three column labels today beijing website construction Ruiheng network is here to everybody introduce about dedecms call three menu application
Code as follows:
Typeid='3'row='1'}[field:typename/]{/dede:type} {dede:type (here is the current column of the navigation menu).
Typeid=''} {dede:channelartlist
Href= >{dede:field "name='typeurl'/} {dede:field" name='typename'/}
{/dede:channelartlist}
~typename~ {dede:channel"}
Href='[field:typeurl/]'>[field:typename/]
Apply it on the OK, welcome to inquire: 400-028-6601
套用一下就OK了,欢迎来电咨询:400-028-6601
网站栏目:关于成都网站建设里dedecms调取三级菜单的标签介绍
本文来源:http://lswzjz.com/article/scdjhi.html