各位大神,俺不會改搜索模塊。
<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>這是模板中的代碼(挺漂亮的,繼續(xù)用這個樣式),需要改動哪些屬性,才能到達官方的搜索展示頁面。

輸入關(guān)鍵詞執(zhí)行搜索,跳轉(zhuǎn)到這個頁面,提示錯誤。能夠在源代碼基礎(chǔ)上改動一下最好,謝謝各位大神?。?!
這個很簡單了,因為你參數(shù)給錯了,不應(yīng)該是post,改為get模式
參考文檔:《內(nèi)容模塊搜索框?qū)懛ā?/a>
開源是一種精神,但不是義務(wù),幫忙是情分,不幫也不要抱怨,建議大家多研究代碼、多閱讀代碼、多翻閱社區(qū)歷史問題!