[showclasstemp]$class_r[$GLOBALS[navclassid]]['bclassid'],3,0,0[/showclasstemp] 

 

必须要先获取到当前栏目的父栏目ID

页面模板内容支持的变量 

 下有 [!--bclass.id--]

 

但是这个不能在标签里使用

所以采用php代码来获取 $GLOBALS[navclassid]]['bclassid'] 
 这个数组就可以获取父栏目ID

 

相关文章:

  • 2022-12-23
  • 2021-07-25
  • 2021-09-14
  • 2021-09-13
  • 2021-10-13
  • 2021-07-24
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-06-16
  • 2022-12-23
  • 2021-05-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案