• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 Search titles only by default

#1
I want to enable by default the "search titles only" on the search bar so my users don't have to manually check this box.

I was wondering is it possible?

upload_2015-12-4_15-38-59.png

Thank you all for your help.
 

Chris D

XenForo developer
Staff member
#2
In the search_bar template, find:

Code:
<li><label><input type="checkbox" name="title_only" value="1"
and replace with:
Code:
<li><label><input type="checkbox" name="title_only" value="1" checked="checked"