1、在pc:content标签中的调用方法
{pc:content action="category" catid="$catid" siteid="$siteid" order="listorder ASC"}
{loop $data $r}
<img src="{thumb($r[image],90,0)}" width="100" height="100" alt="www.cmsjzy.cn" />
{/loop}
{/pc}
2、单独调用
顶级栏目图片:{$CATEGORYS[$top_parentid][image]}
父栏目图片:{$CATEGORYS[$CAT[parentid]][image]}
当前栏目图片、文章所在的栏目图片:{$CAT[image]}
PHPCMS V9栏目描述调用(非SEO描述)方法:
1、在pc:content标签中的调用方法
{pc:content action="category" catid="$catid" siteid="$siteid" order="listorder ASC"}
{loop $data $r}
不限制字符的描述:{$r[description]}
限制200字符的描述:{str_cut($r['description'],200)}
{/loop}
{/pc}
2、单独调用
顶级栏目描述:{$CATEGORYS[$top_parentid][description]}
父栏目描述:{$CATEGORYS[$CAT[parentid]][description]}
当前栏目描述、文章所在的栏目描述:{$CAT[description]}