T thunderclap82 Member Licensed customer 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 Licensed customer 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">
I IcoHolic Member Licensed customer Sep 1, 2024 #3 Is this still a current solution? Upvote 0 Downvote
C cjwinternet Active member Licensed customer Jan 31, 2026 #4 IcoHolic said: Is this still a current solution? Click to expand... Yes Upvote 0 Downvote