pbootcms模板导航调用方法:
1、导航菜单列表
1{pboot:nav} 2<a href="[nav:link]">[nav:name]</a> 3{/pboot:nav} |
2、二级嵌套
01{pboot:nav} 02 03 <a href= "[nav:link]">[nav:name]</a> 04 05 {pboot:2nav parent=[nav:scode]} 06 07 <a href= "[2nav:link]">[2nav:name]</a> 08 09 {/pboot:2nav} 10 11{/pboot:nav} |
3、三级嵌套
01{pboot:nav} 02 03 <a href= "[nav:link]">[nav:name]</a> 04 05 {pboot:2nav parent=[nav:scode]} 06 07 <a href= "[2nav:link]">[2nav:name]</a> 08 09 {pboot:3nav parent=[2nav:scode]} 10 11 <a href= "[3nav:link]">[3nav:name]</a> 12 13 {/pboot:3nav} 14 15 {/pboot:2nav} 16 17{/pboot:nav} |
本文地址:http://yunsucheng.net