迅睿CMS框架是一款PHP8高性能·簡單易用的CMS開源開發(fā)框架,基于MIT開源許可協(xié)議發(fā)布,免費(fèi)且不限制商業(yè)使用,是免費(fèi)開源的產(chǎn)品,以萬端互聯(lián)為設(shè)計(jì)理念,支持的微信公眾號(hào)、小程序、APP客戶端、移動(dòng)端網(wǎng)站、PC網(wǎng)站等多終端式管理系統(tǒng)。
聯(lián)系官方銷售客服
1835022288
028-61286886
為啥自定義搜索頁會(huì)報(bào)錯(cuò),可以每個(gè)模塊或者每個(gè)欄目設(shè)置一個(gè)獨(dú)立的搜索頁嘛
地址給我看看,不可能是null
http://yun.sxlie.com/index.php?s=api&c=api&m=cfcz&dir=news&keywords=RE
這個(gè)地址是錯(cuò)誤的,應(yīng)該改成
http://yun.sxlie.com/index.php?s=news&c=search&keywords=RE&catid=欄目id號(hào)
吧上面的id號(hào)改成你設(shè)置的欄目id
<form method="get" action="/index.php"> <input type="hidden" name="s" value="api"> <input type="hidden" name="c" value="api"> <input type="hidden" name="m" value="cfcz"> <input type="hidden" name="dir" id="dr_ search_module_dir" > <div class="ipt_area fl"> <input type="text" name="keywords" id="keywords" autocomplete="off" placeholder="輸入房源名稱1" class="ipt"> </div> <div class="btn_area fl"> <input type="submit" class="sbm_btn" value="搜索"> </div> </form>
搜索代碼是這樣的,應(yīng)該怎么修改
<form method="get" action="/index.php"> <input type="hidden" name="s" value="news"> <input type="hidden" name="c" value="search"> <input type="hidden" name="catid" value="這理填寫欄目id號(hào)" > <div class="ipt_area fl"> <input type="text" name="keywords" id="keywords" autocomplete="off" placeholder="輸入房源名稱1" class="ipt"> </div> <div class="btn_area fl"> <input type="submit" class="sbm_btn" value="搜索"> </div> </form>
http://223987.com/doc/746.html
可以顯示了,但是搜索不出來結(jié)果,圖二顯示有雙層這個(gè)文章的
search標(biāo)簽的尾部加一個(gè) {$debug} 我看看數(shù)據(jù)
可能是你搜索標(biāo)簽寫錯(cuò)了
參考文檔:《模塊內(nèi)容搜索頁面》
地址給我看看,不可能是null
http://yun.sxlie.com/index.php?s=api&c=api&m=cfcz&dir=news&keywords=RE
這個(gè)地址是錯(cuò)誤的,應(yīng)該改成
吧上面的id號(hào)改成你設(shè)置的欄目id
搜索代碼是這樣的,應(yīng)該怎么修改
http://223987.com/doc/746.html
可以顯示了,但是搜索不出來結(jié)果,圖二顯示有雙層這個(gè)文章的
search標(biāo)簽的尾部加一個(gè) {$debug} 我看看數(shù)據(jù)
可能是你搜索標(biāo)簽寫錯(cuò)了
參考文檔:《模塊內(nèi)容搜索頁面》