聯(lián)系官方銷售客服
1835022288
028-61286886
自定義模塊的內(nèi)容搜索應(yīng)該怎么做?
<form class="search-form" action="{WEB_DIR}index.php" method="get">
<input type="hidden" name="s" value="news">
<input type="hidden" name="c" value="search">
<input name="keyword" placeholder="請輸入關(guān)鍵字..." type="text">
<button type="submit">搜索</button>
</form>
這樣寫是可以搜索的,但是把news換成product就不能搜索了
把news換成product就不能搜索了,為什么呢?不應(yīng)該啊
<input type="hidden" name="s" value="news">
news可以改成任意模塊目錄
回復(fù)@迅睿框架技術(shù)-陳澤希
只能搜中文嗎?
打開開發(fā)者模式,可以看到故障原因,我懷疑是缺失什么模板了
已解決,謝謝
回復(fù)@迅睿框架技術(shù)-陳澤希