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

 时间:2026-03-01 20:48:49

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如何定向精确查找满足搜索需求
  • 热门搜索
    一方不同意离婚怎么办 怎么恢复qq群 客厅怎么装修 扰民怎么办 怎么ps合成照片 助学金申请书怎么写 怎么样变白 山东英才学院怎么样 政务信息怎么写 锁阳怎么泡酒