PbootCMS模板获取指定栏目下面的所有单页内容(1)

COS、CDN
  • 获取指定栏目下的所有单页内容:
    {pboot:nav parent=栏目编号} {pboot:if('[nav:type]' == 1)} {pboot:content scode=[nav:scode]} [content:content] {/pboot:content} {/pboot:if} {/pboot:nav}
  • 获取指定栏目下的所有单页内容,并且排除指定编号:
    {pboot:nav parent=栏目编号} {pboot:if('[nav:type]' == 1 && '[nav:scode]' != 需要排除的编号)} {pboot:content scode=[nav:scode]} [content:content] {/pboot:content} {/pboot:if} {/pboot:nav}

     

COS、CDN
热门