pbootcms调取当前页面一级导航和二级导航的标签
<ul> {pboot:nav num=10 parent={sort:tcode}} <li><a href="[nav:link]">[nav:name]</a></li> {pboot:if([nav:soncount]>0)} {pboot:2nav num=10 parent=[nav:scode]} <li><a href="[2nav:link]">[2nav:name]</a></li> {/pboot:2nav} {/pboot:if} {/pboot:nav}</ul>
转载请注明来源网址: