打开 inc/AspCms_MainClass.asp文件
搜索:select case fieldName
替换成:
dim selsortid,contotal,total
set 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 fieldName
case
"num"
loopstrLinklistNew=replaceStr(loopstrLinklistNew,matchfield.value,total(0))
loopstrLinklistNew=replaceStr(loopstrLinklistNew,0,
""
)
然后保存
使用无限极菜单标签进行替换
结果如下: