在進行網(wǎng)站后期程序建設(shè)的時候,我們通常會用到調(diào)取三級欄目的標(biāo)簽,今天山東網(wǎng)站建設(shè)織夢無憂網(wǎng)絡(luò)就在這里向大家介紹一下關(guān)于dedecms調(diào)用三級菜單的應(yīng)用
代碼如下:
{dede:type typeid='3' row='1'}[field:typename/]{/dede:type}(這里是導(dǎo)航菜單的當(dāng)前欄目)
- {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:
套用一下就OK了,歡迎來電咨詢:
版權(quán):所有文章為演示數(shù)據(jù),版權(quán)歸原作者所有,僅提供演示效果!
轉(zhuǎn)載請注明出處:http://www.kangbangglove.com/wzjs/1936.html