聯系官方銷售客服
1835022288
028-61286886
各位大神,俺不會改搜索模塊。
<div class="search-form"> <form method="post" class="site-search-form" action="/index.php"> <input type="hidden" name="tbname" value="news"> <input type="hidden" name="show" value="title,smalltext"> <input type="hidden" name="tempid" value="1"> <input class="search-input" name="keyboard" type="text" placeholder="搜索一下"> <button class="search-btn" type="submit">搜索</button> </form> </div>
這是模板中的代碼(挺漂亮的,繼續用這個樣式),需要改動哪些屬性,才能到達官方的搜索展示頁面。
輸入關鍵詞執行搜索,跳轉到這個頁面,提示錯誤。能夠在源代碼基礎上改動一下最好,謝謝各位大神!!!
這個很簡單了,因為你參數給錯了,不應該是post,改為get模式
參考文檔:《內容模塊搜索框寫法》