请问PbootCMS模板获取指定栏目下面的所有单页内容(1)
- 获取指定栏目下的所有单页内容:
{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}
更新时间:2025-04-11 00:00:05
上一篇:请问SSL证书续费后仍然显示过期
转载请注明原文链接:https://www.muzicopy.com/suibi/4326.html