|
pbootcms模板导航调用方法:
1、导航菜单列表
{pboot:nav}
[url=,[nav:name,[/url]
{/pboot:nav}
2、二级嵌套
{pboot:nav}
[url=,[nav:name,[/url]
{pboot:2nav parent=[nav:scode]}
[url=,[2nav:name,[/url]
{/pboot:2nav}
{/pboot:nav}
3、三级嵌套
{pboot:nav}
[url=,[nav:name,[/url]
{pboot:2nav parent=[nav:scode]}
[url=,[2nav:name,[/url]
{pboot:3nav parent=[2nav:scode]}
[url=,[3nav:name,[/url]
{/pboot:3nav}
{/pboot:2nav}
{/pboot:nav} |
|