T thunderclap82 Member Feb 28, 2021 #1 I'm sure there's an easy solution but I'm missing it: how can I make it so that "Search titles only" is checked by default?
I'm sure there's an easy solution but I'm missing it: how can I make it so that "Search titles only" is checked by default?
P Paul B XenForo moderator Staff member Mar 2, 2021 #2 It requires editing two templates. For the quick search in the nav, edit the PAGE_CONTAINER template. From: HTML: <xf:option name="c[title_only]"> To: HTML: <xf:option name="c[title_only]" checked="checked"> For the advanced search edit the search_form_macros template From: HTML: <xf:option name="c[title_only]" selected="{$input.c.title_only}"> To: HTML: <xf:option name="c[title_only]" selected="{$input.c.title_only}" checked="checked"> Upvote 0 Downvote
It requires editing two templates. For the quick search in the nav, edit the PAGE_CONTAINER template. From: HTML: <xf:option name="c[title_only]"> To: HTML: <xf:option name="c[title_only]" checked="checked"> For the advanced search edit the search_form_macros template From: HTML: <xf:option name="c[title_only]" selected="{$input.c.title_only}"> To: HTML: <xf:option name="c[title_only]" selected="{$input.c.title_only}" checked="checked">