ASPCMS搜索功能精准查找修改办法

 时间:2026-04-23 13:50:15

1、首先打开inc文件夹

ASPCMS搜索功能精准查找修改办法

2、找到里面的AspCms_MainClass.asp

ASPCMS搜索功能精准查找修改办法

3、大约1506行代码如下:

sql="select ContentID,a.SortID,a.GroupID as aGroupID,a.Exclusive,Title,Title2,TitleColor,IsOutLink,OutLink,Author,ContentSource,ContentTag,Content,ContentStatus,IsTop,Isrecommend,IsImageNews,IsHeadline,IsFeatured,ContentOrder,IsGenerated,Visits,a.AddTime,a.[ImagePath],a.IndexImage,a.DownURL,a.PageFileName,a.PageDesc,SortType,SortURL,SortFolder,SortFileName,SortName,ContentFolder,ContentFileName,b.GroupID as bGroupID "&sperStr&" from {prefix}Content as a,{prefix}Sort as b where a.LanguageID="&setting.languageID&"and a.SortID=b.SortID and ContentStatus=1 and TimeStatus=0 and a.SortID in ("&getSubSort(typeIds, 1)&") and Title like '%"&keys&"%'"&typeStr&orderStr

4、修改为:

sql="select ContentID,a.SortID,a.GroupID as aGroupID,a.Exclusive,Title,Title2,TitleColor,IsOutLink,OutLink,Author,ContentSource,ContentTag,Content,ContentStatus,IsTop,Isrecommend,IsImageNews,IsHeadline,IsFeatured,ContentOrder,IsGenerated,Visits,a.AddTime,a.[ImagePath],a.IndexImage,a.DownURL,a.PageFileName,a.PageDesc,SortType,SortURL,SortFolder,SortFileName,SortName,ContentFolder,ContentFileName,b.GroupID as bGroupID "&sperStr&" from {prefix}Content as a,{prefix}Sort as b where a.LanguageID="&setting.languageID&"and a.SortID=b.SortID and ContentStatus=1 and TimeStatus=0 and a.SortID in ("&getSubSort(typeIds, 1)&") and Title = '"&keys&"'"&typeStr&orderStr

ASPCMS搜索功能精准查找修改办法

  • 如何利用Outlook自带搜索功能精准搜索
  • 如何利用outlook自带搜索功能精确搜索
  • 如何利用outlook自带搜索功能精确搜索
  • 如何利用百度的高级搜索功能查找我们需要的资料
  • QQ如何定向精确查找满足搜索需求
  • 热门搜索
    离婚协议书怎么写样本 没关系用英语怎么说 密码锁怎么开 妲怎么读 信用卡还不上怎么办 d的笔顺怎么写 馒头怎么做 突然头晕是怎么回事 腰椎间盘突出怎么治疗 贷款年利率怎么算