帝国CMS内容模板 如何调用栏目ID

免费资源网,https://freexyz.cn/

帝国CMS内容模板 如何调用栏目ID?

方法1:标签调用

  1. [!–classid–]

  1. [!–self.classid–]

方法2:$navinfor变量

  1. $navinfor[classid]

tips:在内容页输出$navinfor变量,需要结合php简写标签,如:

  1. <?=$navinfor[classid]?>
免费资源网,https://freexyz.cn/