元素模板为您解答:
1、获取所有单页内容代码
{pboot:nav parent=栏目编号} {pboot:if('[nav:type]'==1)} {pboot:content scode=[nav:scode]} [content:content] {/pboot:content} {/pboot:if} {/pboot:nav}
2、排除指定编号代码
{pboot:nav parent=栏目编号} {pboot:if('[nav:type]'==1 && '[nav:scode]' != 需要排除的编号)} {pboot:content scode=[nav:scode]} [content:content] {/pboot:content} {/pboot:if} {/pboot:nav}