本文来自实际建站过程中的记录,步骤可直接照做;环境不同导致的报错,见文末说明。
获取指定栏目下面的所有单页内容{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)}
        {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}