admin Posted on 2024-03-28 11:20:12

Activate fulltext search as default in Discuz! X 3.5

First of all, you need to run Discuz!X 3.5 version. Follow this instruction to make a little edit to the template file: /template/default/common/ pubsearchform.htm . If you're using another theme, template just change the name of template folder ( change default --> yourtheme ).

Look at the line 44:

<td class="scbar_txt_td"><input type="text" name="srchtxt" id="scbar_txt" value="{lang enter_content}" autocomplete="off" x-webkit-speech speech /></td> Change to :
<td class="scbar_txt_td"><input type="text" name="srchtxt" id="scbar_txt" value="{lang enter_content}" autocomplete="off" x-webkit-speech speech /><input type="checkbox" name="srchtype" value="fulltext" style="display:none;" /></td>


Save and clear the cache at AdminCP: Tools --> Update Cache --> Tick on all 3 options --> Submit


Page: [1]
View Full Version: Activate fulltext search as default in Discuz! X 3.5