pbootcms如何显示按文章内容搜索,而不是搜索标题
首先要在搜索代码里加上:
<input type="hidden" name="field" value="content" > |
参考如下:
<form action="{pboot:scaction}" method="get">
关键字:<input type="text" name="keyword" >
<input type="hidden" name="field" value="content" >
<button type="submit">搜索</button>
</form>