Remove links simple adv quick on search page

I use 7.0.3 and would like very much to remove the links on the search pages that say

"simple adv quick"

Can anyone help me? Thank you

Giving it another shot......
Quote · 17 Dec 2010

Hi!

 

Did you manage to resolve this?

 

Thank you

 

C

Quote · 5 Jan 2011

Open the file search.php

On line: 96

Replace:

return DesignBoxContent(_t('_Search profiles'), $sForms, 1, $sLinks);

with

return DesignBoxContent(_t('_Search profiles'), $sForms, 1);

----
Quote · 6 Jan 2011

Works.... thank you

 

7.0.3

Giving it another shot......
Quote · 12 Jan 2011

does anyone know how would this be done if you just wanted to remove 'quick' search leaving the other two (simple and advanced)

 

seems a bit too much to have 3 types of search 

 

thanks

Quote · 27 Jun 2011

This also works for 7.0.6, Thanks

Quote · 19 Jul 2011

 Did you discover a solution for this? I only want to use "Advanced Search" because "Quick" and "Simple" do not return any results for some of my fields (such as "favorite movies" and "zip code".

 

does anyone know how would this be done if you just wanted to remove 'quick' search leaving the other two (simple and advanced)

 

seems a bit too much to have 3 types of search 

 

thanks

 

Quote · 13 Jan 2012

Works in 7.08

thanks.

Quote · 26 Jan 2012

Is there a 7.1 update/fix for this? I would like to remove simple and quick and only have advanced.

It would be nice if removing the blocks from the "search profiles" tab would remove the link from the page...however this doesn't work and it looks like the core edit is still needed.

Ace

Quote · 27 Jun 2013

 

Is there a 7.1 update/fix for this? I would like to remove simple and quick and only have advanced.

It would be nice if removing the blocks from the "search profiles" tab would remove the link from the page...however this doesn't work and it looks like the core edit is still needed.

Ace

 search.php

find

// get search mode

        switch( $_REQUEST['search_mode'] ) {

            case 'quick': $iPFArea = 10; break;

            case 'adv':   $iPFArea = 11; break;

            default:      $iPFArea = 9; // simple search (default)

        }

change to

// get search mode

        switch( $_REQUEST['search_mode'] ) {

            //case 'quick': $iPFArea = 10; break;

            //case 'sim':   $iPFArea = 9; break;

            default:      $iPFArea = 11; // advanced search (default)

        }

find

$aLinks = array(

            _t('_search_tab_simple') => array('href' => $sUrl . '?search_mode=sim', 'active' => $bSimAct),

            _t('_search_tab_Adv') => array('href' => $sUrl . '?search_mode=adv', 'active' => $bAdvAct),

            _t('_search_tab_quick') => array('href' => $sUrl . '?search_mode=quick', 'active' => $bQuiAct),

        );

change to 

$aLinks = array(

            //_t('_search_tab_simple') => array('href' => $sUrl . '?search_mode=sim', 'active' => $bSimAct),

            //_t('_search_tab_Adv') => array('href' => $sUrl . '?search_mode=adv', 'active' => $bAdvAct),

            //_t('_search_tab_quick') => array('href' => $sUrl . '?search_mode=quick', 'active' => $bQuiAct),

        );

Quote · 27 Jun 2013
 
 
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.