聯系官方銷售客服
1835022288
028-61286886
自定義模塊的內容搜索應該怎么做?
<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="請輸入關鍵字..." type="text">
<button type="submit">搜索</button>
</form>
這樣寫是可以搜索的,但是把news換成product就不能搜索了
把news換成product就不能搜索了,為什么呢?不應該啊
<input type="hidden" name="s" value="news">
news可以改成任意模塊目錄
回復@迅睿框架技術-陳澤希
只能搜中文嗎?
打開開發者模式,可以看到故障原因,我懷疑是缺失什么模板了
已解決,謝謝
回復@迅睿框架技術-陳澤希