迅睿CMS框架是一款PHP8高性能·简单易用的CMS开源开发框架, 基于MIT开源许可协议发布,不限制商业使用,以多端互联为设计理念, 支持的微信公众号、小程序、APP客户端、移动端网站、PC网站等多终端式管理系统。
请问一下,{count action=module module=news catid=1}有没有办法排除某一个栏目呢?谢谢
{php $w = urlencode('catid not in(1,2,3)');} 排除1,2,3栏目 {count action=module module=news where=$w}
{php $w = urlencode('catid not in(1,2,3)');} 排除1,2,3栏目 {count action=module module=news where=$w}参考文档:《在循环标签中使用自定义SQL条件where》