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如何定向精确查找满足搜索需求
  • 热门搜索
    湖南腊肉怎么做好吃 奥迪怎么样 彼此的近义词 分手了怎么走出来 西瓜头发型图片 安琪酵母怎么用 速效感冒胶囊 煎鱼怎么不粘锅 嘴角烂了怎么快速好 深入人心的近义词