Remove site search icon from the top menu...

Any ideas how to remove/disable site search icon from the top menu (the magnifying glass icon at the far right)? We use an ajax search in another location and there are specific areas for friend searches too, so this really is just something else to confuse members.

Quote · 13 Feb 2011

edit file:

templates/base/scripts/BxBaseMenu.php

find line in function genTopFooter

$aFunctions = array('genMoreLanguagesElement', 'genMoreTemplatesElement', 'genSearchElement');

change to

$aFunctions = array('genMoreLanguagesElement', 'genMoreTemplatesElement');

ue30 Mods - http://www.boonex.com/market/posts/ue30
Quote · 13 Feb 2011

I tried this, along with manually and automatically clearing the cache... but it's still there Frown

Quote · 13 Feb 2011

Do you have a custom template?

If so, check the script to see if that function exists in the custom template.

templates\yourtemplate\scripts\BxTemplMenu.php

https://www.deanbassett.com
Quote · 13 Feb 2011

Doh...! I was looking in the wrong template folder. Thanks again for giving me a starting point! It worked a treat.

Quote · 13 Feb 2011

 

edit file:

templates/base/scripts/BxBaseMenu.php

find line in function genTopFooter

$aFunctions = array('genMoreLanguagesElement', 'genMoreTemplatesElement', 'genSearchElement');

change to

$aFunctions = array('genMoreLanguagesElement', 'genMoreTemplatesElement');

 I made this modification and the search icon disapeared but now i get an error at the top of the site.

Warning: Cannot modify header information - headers already sent by (output started at /home/xxxx/public_html/templates/base/scripts/BxBaseMenu.php:1791) in/home/xxxx/public_html/inc/design.inc.php on line 133

 

Thanks

Quote · 12 Aug 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.