$finder = new finder; $finder->disabled = FALSE; /* Edit this to true to make a default finder disabled initially */ $finder->api_version = 2; $finder->name = 'finder_lessons'; $finder->views_view = 'finder_ac_lessons'; $finder->views_display = 'page_1'; $finder->title = 'Finder Lessons'; $finder->description = 'Finder Lessons'; $finder->path = 'finder_lessons'; $finder->block = TRUE; $finder->status = TRUE; $finder->settings = array( 'block' => TRUE, 'form_on_page' => TRUE, 'find_button' => TRUE, 'find_text' => 'Find', 'go_text' => 'Go', 'ajax_effect' => 'none', 'show_results' => 'completed', 'results_style' => 'views', 'no_results' => 'default', 'pager' => 10, 'redirect' => 'never', 'element_logic' => 'AND', 'url' => 'enabled', 'url_delimiter' => ',', ); $finder->elements = array( 'lessons' => (object) array( 'id' => 'lessons', 'finder' => 'finder_lessons', 'settings' => array( 'field_logic' => 'OR', 'value_logic' => 'AND', 'match' => 'c', 'fields' => array( 'node.title' => (object) array( 'table' => 'node', 'field' => 'title', 'relationship' => NULL, ), 'taxonomy_term_data_3.name' => (object) array( 'table' => 'taxonomy_term_data_3', 'field' => 'name', 'relationship' => NULL, ), ), 'max_suggestions' => 10, 'autocomplete_field_logic' => 'OR', 'autocomplete_value_logic' => 'OR', 'autocomplete_match' => 'c', 'match_custom_operator' => '', 'match_custom_prefix' => '', 'match_custom_suffix' => '', 'size' => '40', 'display' => '0', ), 'weight' => '0', 'title' => 'Lessons', 'element' => 'autocomplete', ), );