Make advanced search default

Hello.

 

Is it possible to make advanced search default in the search box? Or to disable the other both search methods simple and quick?

Quote · 16 Feb 2016

This would be helpful! Anyone?

Quote · 11 Jun 2016

You can make "simple search" to look exactly as "advanced search" in fields builder instead.

Rules → http://www.boonex.com/terms
Quote · 18 Jun 2016

Yeah, but what if you want different search options as default on search results page? or how to change default search mode on search_home.php?

 

You can make "simple search" to look exactly as "advanced search" in fields builder instead.

 

Quote · 19 Feb 2017

never mind, I already found a way to force adv search mode on search results page...

 

edit the following code in search.php

// get search mode
        switch( $_REQUEST['search_mode'] ) {
            case 'quick': $iPFArea = 10; break;
            case 'adv':   $iPFArea = 11; break;
            default:      $iPFArea = 9; // simple search (default)
        }

 

replace it with the following code:

// get search mode
        switch( $_REQUEST['search_mode'] ) {
            case 'quick': $iPFArea = 10; break;
            case 'adv':   $iPFArea = 9; break;
            default:      $iPFArea = 11; // simple search (default)
        }

 

 

Yeah, but what if you want different search options as default on search results page? or how to change default search mode on search_home.php?

 

You can make "simple search" to look exactly as "advanced search" in fields builder instead.

 

 

Quote · 19 Feb 2017
 
 
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.