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
I use 7.0.3 and would like very much to remove the links on the search pages that say Giving it another shot...... |
Hi!
Did you manage to resolve this?
Thank you
C |
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); ---- |
Works.... thank you
7.0.3 Giving it another shot...... |
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 |
This also works for 7.0.6, Thanks |
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
|
Works in 7.08 thanks. |
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 |
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), ); |