How to remove the search in top menu??

http://www.profilespace.co.uk/

 

If you look there search on the top menu won't go away! lol

What code should I remove to get rid of it please?

Thanks :)

Quote · 8 Aug 2011

BxBaseMenu.php

Quote · 8 Aug 2011

I tried that before I posted, sorry I should have said. I removed:

    /*
    * Generate search element
    */
    function genSearchElement() {
        $sSearchC = process_line_output(_t('_Search'));
        ob_start();
?>
<script language="javascript">
$(document).ready( function() {
    $('#keyword').blur(function() {
            $('#keyword').removeClass();
            $('#keyword').addClass('input_main');
            if ('' == $('#keyword').val())
                $('#keyword').val('<?= $sSearchC ?>');
        }
    );
    $('#keyword').focus(function() {
            $('#keyword').removeClass();
            $('#keyword').addClass('input_focus');
            if ('<?= $sSearchC ?>' == $('#keyword').val())
                $('#keyword').val('');
        }
    );
});
</script>
<li>
    <div id="gse_search">
        <form action="searchKeyword.php" method="get" name="SearchForm">
            <input type="text" name="keyword" id="keyword" value="<?= $sSearchC ?>" class="input_main"/>
        </form>
    </div>
    <div class="clear_both"></div>
</li>
<?
        $sSearchElement = ob_get_clean();

        return array (
            'icon_url' => getTemplateIcon('tm_item_search.png'),
            'element_content' => $sSearchElement
        );
    }

 

but I just got function missing error :(

Quote · 8 Aug 2011

Cerca il file \templates\base\scripts\BxBaseMenu.php

Aprilo

All'interno cerca il seguente pezzo di codice:

----------------------------------------------------

/*

* Generate search element

*/

function genSearchElement() {

----------------------------------------------------

 

subito dopo aggiungi:

return;

 

La modifica dovrebbe venire così:

---------------------------------------------------------------------------------

 */

* Generate search element

*/

function genSearchElement() {

return; /* aggiunto da me per non far apparire il search*/

---------------------------------------------------------------------------------------

Ovviamente lascia tutto il resto invariato

Ciao Ciao

 

 

Quote · 8 Aug 2011

 

Cerca il file \templates\base\scripts\BxBaseMenu.php

Aprilo

All'interno cerca il seguente pezzo di codice:

----------------------------------------------------

/*

* Generate search element

*/

function genSearchElement() {

----------------------------------------------------

 

subito dopo aggiungi:

return;

 

La modifica dovrebbe venire così:

---------------------------------------------------------------------------------

 */

* Generate search element

*/

function genSearchElement() {

return; /* aggiunto da me per non far apparire il search*/

---------------------------------------------------------------------------------------

Ovviamente lascia tutto il resto invariato

Ciao Ciao

 

 

 Ha funzionato, grazie!

Quote · 8 Aug 2011

Hello, You can also delete the contents of  navigation_ menu_item  in the template file

a passion for BoonEx Dolphin www.dolphindesigntheme.com
Quote · 8 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.