XF 1.x disable the search forums

Claro

Registered
Hi, how i can disable the search forums (red selected, see picture)? i use Splash style
244455disable.jpg
 

Steve

Moderator
To remove that link you would need to edit a template. There isn't a direct way to disable the search function.

In the navigation template of your style find:
Code:
<xen:if is="{$canSearch}"><li><a href="{xen:link search, '', 'type=post'}">{xen:phrase search_forums}</a></li></xen:if>

Replace with:
Code:
<xen:comment><xen:if is="{$canSearch}"><li><a href="{xen:link search, '', 'type=post'}">{xen:phrase search_forums}</a></li></xen:if></xen:comment>
 

Pre-Sale Questions

If you have any questions or concerns you want to ask before you make a purchase don't hesitate to use one of our multiple support channels for your convenience.