Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | <?xml version="1.0" encoding="iso-8859-1" ?> |
2 | ||
3 | <table> | |
4 | <base>CRM/Core</base> | |
5 | <class>UFGroup</class> | |
6 | <name>civicrm_uf_group</name> | |
7 | <comment>User framework groups. Each group represents a form which encompasses a set of fields defined in civicrm_uf_fields table. Initially will be used for CiviCRM Profile form(s). Subsequently we anticipate using this to define other public facing forms (e.g. online donation solicitation forms, mailing list preferences, etc.).</comment> | |
8 | <add>1.1</add> | |
9 | <log>true</log> | |
10 | <field> | |
8f069c03 EM |
11 | <name>id</name> |
12 | <title>Profile ID</title> | |
13 | <type>int unsigned</type> | |
14 | <required>true</required> | |
15 | <comment>Unique table ID</comment> | |
16 | <add>1.1</add> | |
6a488035 TO |
17 | </field> |
18 | <primaryKey> | |
8f069c03 EM |
19 | <name>id</name> |
20 | <autoincrement>true</autoincrement> | |
6a488035 TO |
21 | </primaryKey> |
22 | <field> | |
8f069c03 EM |
23 | <name>is_active</name> |
24 | <title>Profile Is Active</title> | |
25 | <type>boolean</type> | |
26 | <default>1</default> | |
27 | <comment>Is this form currently active? If false, hide all related fields for all sharing contexts.</comment> | |
28 | <add>1.1</add> | |
29 | </field> | |
30 | <field> | |
31 | <name>group_type</name> | |
32 | <title>Profile Group Type</title> | |
33 | <type>varchar</type> | |
34 | <length>255</length> | |
35 | <import>true</import> | |
dd3ec98b CW |
36 | <comment>Comma separated list of the type(s) of profile fields.</comment> |
37 | <serialize>COMMA</serialize> | |
8f069c03 EM |
38 | <add>2.1</add> |
39 | </field> | |
40 | <field> | |
41 | <name>form_type</name> | |
42 | <type>enum</type> | |
43 | <values>CiviCRM Profile</values> | |
44 | <comment>Type of form.</comment> | |
45 | <drop>2.1</drop> | |
46 | </field> | |
47 | <field> | |
48 | <name>title</name> | |
49 | <type>varchar</type> | |
50 | <length>64</length> | |
51 | <localizable>true</localizable> | |
52 | <required>true</required> | |
53 | <comment>Form title.</comment> | |
54 | <add>1.1</add> | |
55 | </field> | |
bf48be46 SL |
56 | <field> |
57 | <name>frontend_title</name> | |
58 | <type>varchar</type> | |
59 | <length>64</length> | |
60 | <localizable>true</localizable> | |
61 | <comment>Profile Form Public title</comment> | |
62 | <add>4.7</add> | |
63 | </field> | |
8f069c03 EM |
64 | <field> |
65 | <name>description</name> | |
66 | <type>text</type> | |
67 | <title>Profile Description</title> | |
68 | <html> | |
69 | <type>TextArea</type> | |
70 | <rows>2</rows> | |
71 | <cols>60</cols> | |
72 | </html> | |
73 | <comment>Optional verbose description of the profile.</comment> | |
74 | <add>4.4</add> | |
75 | </field> | |
76 | <field> | |
77 | <name>collapse_display</name> | |
78 | <type>int unsigned</type> | |
79 | <default>0</default> | |
80 | <comment>Will this group be in collapsed or expanded mode on initial display ?</comment> | |
81 | <add>1.1</add> | |
82 | <drop>2.2</drop> | |
83 | </field> | |
84 | <field> | |
85 | <name>help_pre</name> | |
86 | <type>text</type> | |
87 | <localizable>true</localizable> | |
88 | <comment>Description and/or help text to display before fields in form.</comment> | |
89 | <html> | |
90 | <type>TextArea</type> | |
91 | <rows>4</rows> | |
92 | <cols>80</cols> | |
93 | </html> | |
94 | <add>1.2</add> | |
95 | </field> | |
96 | <field> | |
97 | <name>help_post</name> | |
98 | <title>Profile Post Text</title> | |
99 | <type>text</type> | |
100 | <localizable>true</localizable> | |
101 | <comment>Description and/or help text to display after fields in form.</comment> | |
102 | <html> | |
103 | <type>TextArea</type> | |
104 | <rows>4</rows> | |
105 | <cols>80</cols> | |
106 | </html> | |
107 | <add>1.2</add> | |
108 | </field> | |
109 | <field> | |
110 | <name>weight</name> | |
111 | <title>Profile Weight</title> | |
112 | <type>int</type> | |
113 | <required>true</required> | |
114 | <default>1</default> | |
115 | <comment>Controls display order when multiple user framework groups are setup for concurrent display.</comment> | |
116 | <add>1.2</add> | |
117 | <drop>1.3</drop> | |
118 | </field> | |
119 | <field> | |
120 | <name>limit_listings_group_id</name> | |
121 | <title>Profile Search Limit Group</title> | |
122 | <type>int unsigned</type> | |
e4f46be0 | 123 | <comment>Group id, foreign key from civicrm_group</comment> |
8f069c03 | 124 | <add>1.4</add> |
6a488035 TO |
125 | </field> |
126 | <foreignKey> | |
8f069c03 EM |
127 | <name>limit_listings_group_id</name> |
128 | <table>civicrm_group</table> | |
129 | <key>id</key> | |
130 | <add>1.4</add> | |
131 | <onDelete>SET NULL</onDelete> | |
6a488035 TO |
132 | </foreignKey> |
133 | <field> | |
8f069c03 EM |
134 | <name>post_URL</name> |
135 | <type>varchar</type> | |
136 | <length>255</length> | |
137 | <comment>Redirect to URL.</comment> | |
138 | <add>1.4</add> | |
6a488035 | 139 | </field> |
3c7d2158 | 140 | <field> |
8f069c03 EM |
141 | <name>add_to_group_id</name> |
142 | <title>Add Contact To Group</title> | |
143 | <type>int unsigned</type> | |
144 | <comment>foreign key to civicrm_group_id</comment> | |
3c7d2158 | 145 | </field> |
6a488035 | 146 | <foreignKey> |
8f069c03 EM |
147 | <name>add_to_group_id</name> |
148 | <table>civicrm_group</table> | |
149 | <key>id</key> | |
150 | <onDelete>SET NULL</onDelete> | |
6a488035 | 151 | </foreignKey> |
8f069c03 EM |
152 | <field> |
153 | <name>add_captcha</name> | |
154 | <title>Show Captcha On Profile</title> | |
155 | <type>boolean</type> | |
156 | <default>0</default> | |
157 | <comment>Should a CAPTCHA widget be included this Profile form.</comment> | |
158 | <add>1.1</add> | |
159 | </field> | |
160 | <field> | |
161 | <name>is_map</name> | |
162 | <title>Map Profile</title> | |
163 | <type>boolean</type> | |
164 | <default>0</default> | |
165 | <comment>Do we want to map results from this profile.</comment> | |
166 | <add>1.5</add> | |
167 | </field> | |
168 | <field> | |
169 | <name>is_edit_link</name> | |
170 | <title>Show Edit Link?</title> | |
171 | <type>boolean</type> | |
172 | <default>0</default> | |
173 | <comment>Should edit link display in profile selector</comment> | |
174 | <add>1.6</add> | |
175 | </field> | |
176 | <field> | |
177 | <name>is_uf_link</name> | |
178 | <title>Show Link to CMS User</title> | |
179 | <type>boolean</type> | |
180 | <default>0</default> | |
181 | <comment>Should we display a link to the website profile in profile selector</comment> | |
182 | <add>1.7</add> | |
183 | </field> | |
184 | <field> | |
185 | <name>is_update_dupe</name> | |
186 | <title>Update on Duplicate</title> | |
187 | <type>boolean</type> | |
188 | <default>0</default> | |
189 | <comment>Should we update the contact record if we find a duplicate</comment> | |
190 | <add>1.7</add> | |
191 | </field> | |
192 | <field> | |
193 | <name>cancel_URL</name> | |
194 | <title>Profile Cancel URL</title> | |
195 | <type>varchar</type> | |
196 | <length>255</length> | |
197 | <comment>Redirect to URL when Cancle button clik .</comment> | |
198 | <add>1.4</add> | |
199 | </field> | |
200 | <field> | |
201 | <name>is_cms_user</name> | |
202 | <title>Create CMS User?</title> | |
203 | <type>boolean</type> | |
204 | <default>0</default> | |
205 | <comment>Should we create a cms user for this profile </comment> | |
206 | <add>1.8</add> | |
207 | </field> | |
208 | <field> | |
209 | <name>notify</name> | |
210 | <title>Notify on Profile Submit</title> | |
211 | <type>text</type> | |
212 | <add>1.8</add> | |
6a488035 TO |
213 | </field> |
214 | <field> | |
215 | <name>is_reserved</name> | |
61ce9b45 | 216 | <title>Profile Is Reserved</title> |
6a488035 TO |
217 | <type>boolean</type> |
218 | <comment>Is this group reserved for use by some other CiviCRM functionality?</comment> | |
219 | <add>3.0</add> | |
220 | </field> | |
221 | <field> | |
222 | <name>name</name> | |
61ce9b45 | 223 | <title>Profile Name</title> |
6a488035 TO |
224 | <type>varchar</type> |
225 | <length>64</length> | |
226 | <comment>Name of the UF group for directly addressing it in the codebase</comment> | |
227 | <add>3.0</add> | |
228 | </field> | |
a998935a | 229 | <index> |
230 | <name>UI_name</name> | |
231 | <fieldName>name</fieldName> | |
232 | <unique>true</unique> | |
233 | <add>4.7</add> | |
234 | </index> | |
6a488035 TO |
235 | <field> |
236 | <name>created_id</name> | |
61ce9b45 | 237 | <title>Profile Created By</title> |
6a488035 TO |
238 | <type>int unsigned</type> |
239 | <comment>FK to civicrm_contact, who created this UF group</comment> | |
240 | <add>3.0</add> | |
241 | </field> | |
242 | <foreignKey> | |
243 | <name>created_id</name> | |
244 | <table>civicrm_contact</table> | |
245 | <key>id</key> | |
246 | <add>3.0</add> | |
247 | <onDelete>SET NULL</onDelete> | |
248 | </foreignKey> | |
249 | <field> | |
250 | <name>created_date</name> | |
251 | <type>datetime</type> | |
252 | <title>UF Group Created Date</title> | |
253 | <comment>Date and time this UF group was created.</comment> | |
254 | <add>3.0</add> | |
255 | </field> | |
256 | <field> | |
61ce9b45 EM |
257 | <name>is_proximity_search</name> |
258 | <title>Include Proximity Search?</title> | |
259 | <type>boolean</type> | |
260 | <default>0</default> | |
261 | <comment>Should we include proximity search feature in this profile search form?</comment> | |
262 | <add>3.2</add> | |
6a488035 | 263 | </field> |
41ace555 SL |
264 | <field> |
265 | <name>cancel_button_text</name> | |
266 | <title>Cancel Button Text</title> | |
267 | <type>varchar</type> | |
268 | <length>64</length> | |
269 | <comment>Custom Text to display on the Cancel button when used in create or edit mode</comment> | |
270 | <default>NULL</default> | |
271 | <localizable>true</localizable> | |
272 | <add>4.7</add> | |
273 | </field> | |
274 | <field> | |
275 | <name>submit_button_text</name> | |
276 | <title>Submit Button Text</title> | |
277 | <type>varchar</type> | |
278 | <length>64</length> | |
279 | <comment>Custom Text to display on the submit button on profile edit/create screens</comment> | |
280 | <default>NULL</default> | |
281 | <localizable>true</localizable> | |
282 | <add>4.7</add> | |
283 | </field> | |
b3f1028c JP |
284 | <field> |
285 | <name>add_cancel_button</name> | |
286 | <title>Include Cancel Button</title> | |
287 | <type>boolean</type> | |
288 | <default>1</default> | |
289 | <comment>Should a Cancel button be included in this Profile form.</comment> | |
290 | <add>5.0</add> | |
291 | </field> | |
6a488035 | 292 | </table> |