打开 inc/AspCms_MainClass.asp文件
搜索:select case fieldName
替换成:
dim selsortid,contotal,totalset total=conn.Exec("select count (*) from AspCms_Content where (sortID in(select sortid from AspCms_Sort where ParentID = "&linkArray(3,i)&") and ContentStatus<>0) or (sortID = "&linkArray(3,i)&" and ContentStatus<>0)","r1")select case fieldNamecase"num"loopstrLinklistNew=replaceStr(loopstrLinklistNew,matchfield.value,total(0))loopstrLinklistNew=replaceStr(loopstrLinklistNew,0,"")
然后保存
使用无限极菜单标签进行替换
结果如下:
在 AspCms 系统中,要获取栏目下的分类内容数量,需要编辑 inc/AspCms_MainClass.asp 文件。找到 'select case fieldName' 语句进行相关操作,完成后保存文件。
2133

被折叠的 条评论
为什么被折叠?



