pbootcms获取调用二级三级导航分类栏目方法
1、导航菜单列表
{pboot:nav} <a href="[nav:link]">[nav:name]</a> {/pboot:nav}
2、二级栏目调用代码
{pboot:nav} <a href= "[nav:link]">[nav:name]</a> {pboot:2nav parent=[nav:scode]} <a href= "[2nav:link]">[2nav:name]</a> {/pboot:2nav} {/pboot:nav}
3、三级栏目嵌套导航代码:
{pboot:nav} <a href= "[nav:link]">[nav:name]</a> {pboot:2nav parent=[nav:scode]} <a href= "[2nav:link]">[2nav:name]</a> {pboot:3nav parent=[2nav:scode]} <a href= "[3nav:link]">[3nav:name]</a> {/pboot:3nav} {/pboot:2nav} {/pboot:nav}