3 +--------------------------------------------------------------------+
4 | CiviCRM version 4.7 |
5 +--------------------------------------------------------------------+
6 | Copyright CiviCRM LLC (c) 2004-2015 |
7 +--------------------------------------------------------------------+
8 | This file is a part of CiviCRM. |
10 | CiviCRM is free software; you can copy, modify, and distribute it |
11 | under the terms of the GNU Affero General Public License |
12 | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
14 | CiviCRM is distributed in the hope that it will be useful, but |
15 | WITHOUT ANY WARRANTY; without even the implied warranty of |
16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
17 | See the GNU Affero General Public License for more details. |
19 | You should have received a copy of the GNU Affero General Public |
20 | License and the CiviCRM Licensing Exception along |
21 | with this program; if not, contact CiviCRM LLC |
22 | at info[AT]civicrm[DOT]org. If you have questions about the |
23 | GNU Affero General Public License or the licensing of CiviCRM, |
24 | see the CiviCRM license FAQ at http://civicrm.org/licensing |
25 +--------------------------------------------------------------------+
31 * @copyright CiviCRM LLC (c) 2004-2015
36 * Settings metadata file
39 'search_autocomplete_count' => array(
40 'group_name' => 'Search Preferences',
41 'group' => 'Search Preferences',
42 'name' => 'search_autocomplete_count',
45 'quick_form_type' => 'Element',
46 'html_type' => 'text',
47 'html_attributes' => array(
53 'title' => 'Autocomplete Results',
56 'description' => 'The maximum number of contacts to show at a time when typing in an autocomplete field.',
59 'enable_innodb_fts' => array(
60 'group_name' => 'Search Preferences',
61 'group' => 'Search Preferences',
62 'name' => 'enable_innodb_fts',
65 'quick_form_type' => 'YesNo',
68 'title' => 'InnoDB Full Text Search',
71 'description' => "Enable InnoDB full-text search optimizations. (Requires MySQL 5.6+)",
74 array('CRM_Core_InnoDBIndexer', 'onToggleFts'),
77 'fts_query_mode' => array(
78 'group_name' => 'Search Preferences',
79 'group' => 'Search Preferences',
80 'name' => 'fts_query_mode',
83 'quick_form_type' => 'Element',
84 'html_attributes' => array(
88 'html_type' => 'Text',
89 'default' => 'simple',
91 'title' => 'How to handle full-tet queries',
94 'description' => NULL,
97 'includeOrderByClause' => array(
98 'group_name' => 'Search Preferences',
99 'group' => 'Search Preferences',
100 'name' => 'includeOrderByClause',
102 // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
104 //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
106 'quick_form_type' => 'YesNo',
109 'title' => 'Include Order By Clause',
112 'description' => 'If disabled, the search results will not be ordered. This may improve response time on search results on large datasets',
115 'includeWildCardInName' => array(
116 'group_name' => 'Search Preferences',
117 'group' => 'Search Preferences',
118 'name' => 'includeWildCardInName',
120 // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
122 //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
124 'quick_form_type' => 'YesNo',
127 'title' => 'Automatic Wildcard',
130 'description' => "If enabled, wildcards are automatically added to the beginning AND end of the search term when users search for contacts by Name. EXAMPLE: Searching for 'ada' will return any contact whose name includes those letters - e.g. 'Adams, Janet', 'Nadal, Jorge', etc. If disabled, a wildcard is added to the end of the search term only. EXAMPLE: Searching for 'ada' will return any contact whose last name begins with those letters - e.g. 'Adams, Janet' but NOT 'Nadal, Jorge'. Disabling this feature will speed up search significantly for larger databases, but users must manually enter wildcards ('%' or '_') to the beginning of the search term if they want to find all records which contain those letters. EXAMPLE: '%ada' will return 'Nadal, Jorge'.",
133 'includeEmailInName' => array(
134 'group_name' => 'Search Preferences',
135 'group' => 'Search Preferences',
136 'name' => 'includeEmailInName',
138 // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
140 //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
142 'quick_form_type' => 'YesNo',
145 'title' => 'Include Email',
148 'description' => 'If enabled, email addresses are automatically included when users search by Name. Disabling this feature will speed up search significantly for larger databases, but users will need to use the Email search fields (from Advanced Search, Search Builder, or Profiles) to find contacts by email address.',
151 'includeNickNameInName' => array(
152 'group_name' => 'Search Preferences',
153 'group' => 'Search Preferences',
154 'name' => 'includeNickNameInName',
156 // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
158 //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
160 'quick_form_type' => 'YesNo',
163 'title' => 'Include Nickname',
166 'description' => 'If enabled, nicknames are automatically included when users search by Name.',
169 'includeAlphabeticalPager' => array(
170 'group_name' => 'Search Preferences',
171 'group' => 'Search Preferences',
172 'name' => 'includeAlphabeticalPager',
174 // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
176 //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
178 'quick_form_type' => 'YesNo',
181 'title' => 'Include Alphabetical Pager',
184 'description' => 'If disabled, the alphabetical pager will not be displayed on the search screens. This will improve response time on search results on large datasets.',
187 'smartGroupCacheTimeout' => array(
188 'group_name' => 'Search Preferences',
189 'group' => 'Search Preferences',
190 'name' => 'smartGroupCacheTimeout',
192 // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
194 //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
196 'quick_form_type' => 'Text',
199 'title' => 'Smart group cache timeout',
202 'description' => 'The number of minutes to cache smart group contacts. We strongly recommend that this value be greater than zero, since a value of zero means no caching at all. If your contact data changes frequently, you should set this value to at least 5 minutes.',
205 'defaultSearchProfileID' => array(
206 'group_name' => 'Search Preferences',
207 'group' => 'Search Preferences',
208 'name' => 'defaultSearchProfileID',
210 // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
212 //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
214 'quick_form_type' => 'Text',
217 'title' => 'Default Contact Search Profile',
220 'description' => 'If set, this will be the default profile used for contact search.',
223 'autocompleteContactSearch' => array(
224 'group_name' => 'Search Preferences',
225 'group' => 'Search Preferences',
226 'name' => 'autocompleteContactSearch',
228 // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
230 //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
232 'quick_form_type' => 'CheckBox',
235 'title' => 'Autocomplete Contact Search',
236 'pseudoconstant' => array('optionGroupName' => 'contact_autocomplete_options'),
239 'description' => "Selected fields will be displayed in back-office autocomplete dropdown search results (Quick Search, etc.). Contact Name is always included.",
242 'autocompleteContactReference' => array(
243 'group_name' => 'Search Preferences',
244 'group' => 'Search Preferences',
245 'name' => 'autocompleteContactReference',
247 // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
249 //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
251 'quick_form_type' => 'CheckBox',
254 'title' => 'Contact Reference Options',
255 'pseudoconstant' => array('optionGroupName' => 'contact_reference_options'),
258 'description' => "Selected fields will be displayed in autocomplete dropdown search results for 'Contact Reference' custom fields. Contact Name is always included. NOTE: You must assign 'access contact reference fields' permission to the anonymous role if you want to use custom contact reference fields in profiles on public pages. For most situations, you should use the 'Limit List to Group' setting when configuring a contact reference field which will be used in public forms to prevent exposing your entire contact list.",