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> | |
36 | <comment>This column will store a comma separated list of the type(s) of profile fields.</comment> | |
37 | <add>2.1</add> | |
38 | </field> | |
39 | <field> | |
40 | <name>form_type</name> | |
41 | <type>enum</type> | |
42 | <values>CiviCRM Profile</values> | |
43 | <comment>Type of form.</comment> | |
44 | <drop>2.1</drop> | |
45 | </field> | |
46 | <field> | |
47 | <name>title</name> | |
48 | <type>varchar</type> | |
49 | <length>64</length> | |
50 | <localizable>true</localizable> | |
51 | <required>true</required> | |
52 | <comment>Form title.</comment> | |
53 | <add>1.1</add> | |
54 | </field> | |
55 | <field> | |
56 | <name>description</name> | |
57 | <type>text</type> | |
58 | <title>Profile Description</title> | |
59 | <html> | |
60 | <type>TextArea</type> | |
61 | <rows>2</rows> | |
62 | <cols>60</cols> | |
63 | </html> | |
64 | <comment>Optional verbose description of the profile.</comment> | |
65 | <add>4.4</add> | |
66 | </field> | |
67 | <field> | |
68 | <name>collapse_display</name> | |
69 | <type>int unsigned</type> | |
70 | <default>0</default> | |
71 | <comment>Will this group be in collapsed or expanded mode on initial display ?</comment> | |
72 | <add>1.1</add> | |
73 | <drop>2.2</drop> | |
74 | </field> | |
75 | <field> | |
76 | <name>help_pre</name> | |
77 | <type>text</type> | |
78 | <localizable>true</localizable> | |
79 | <comment>Description and/or help text to display before fields in form.</comment> | |
80 | <html> | |
81 | <type>TextArea</type> | |
82 | <rows>4</rows> | |
83 | <cols>80</cols> | |
84 | </html> | |
85 | <add>1.2</add> | |
86 | </field> | |
87 | <field> | |
88 | <name>help_post</name> | |
89 | <title>Profile Post Text</title> | |
90 | <type>text</type> | |
91 | <localizable>true</localizable> | |
92 | <comment>Description and/or help text to display after fields in form.</comment> | |
93 | <html> | |
94 | <type>TextArea</type> | |
95 | <rows>4</rows> | |
96 | <cols>80</cols> | |
97 | </html> | |
98 | <add>1.2</add> | |
99 | </field> | |
100 | <field> | |
101 | <name>weight</name> | |
102 | <title>Profile Weight</title> | |
103 | <type>int</type> | |
104 | <required>true</required> | |
105 | <default>1</default> | |
106 | <comment>Controls display order when multiple user framework groups are setup for concurrent display.</comment> | |
107 | <add>1.2</add> | |
108 | <drop>1.3</drop> | |
109 | </field> | |
110 | <field> | |
111 | <name>limit_listings_group_id</name> | |
112 | <title>Profile Search Limit Group</title> | |
113 | <type>int unsigned</type> | |
e4f46be0 | 114 | <comment>Group id, foreign key from civicrm_group</comment> |
8f069c03 | 115 | <add>1.4</add> |
6a488035 TO |
116 | </field> |
117 | <foreignKey> | |
8f069c03 EM |
118 | <name>limit_listings_group_id</name> |
119 | <table>civicrm_group</table> | |
120 | <key>id</key> | |
121 | <add>1.4</add> | |
122 | <onDelete>SET NULL</onDelete> | |
6a488035 TO |
123 | </foreignKey> |
124 | <field> | |
8f069c03 EM |
125 | <name>post_URL</name> |
126 | <type>varchar</type> | |
127 | <length>255</length> | |
128 | <comment>Redirect to URL.</comment> | |
129 | <add>1.4</add> | |
6a488035 | 130 | </field> |
3c7d2158 | 131 | <field> |
8f069c03 EM |
132 | <name>add_to_group_id</name> |
133 | <title>Add Contact To Group</title> | |
134 | <type>int unsigned</type> | |
135 | <comment>foreign key to civicrm_group_id</comment> | |
3c7d2158 | 136 | </field> |
6a488035 | 137 | <foreignKey> |
8f069c03 EM |
138 | <name>add_to_group_id</name> |
139 | <table>civicrm_group</table> | |
140 | <key>id</key> | |
141 | <onDelete>SET NULL</onDelete> | |
6a488035 | 142 | </foreignKey> |
8f069c03 EM |
143 | <field> |
144 | <name>add_captcha</name> | |
145 | <title>Show Captcha On Profile</title> | |
146 | <type>boolean</type> | |
147 | <default>0</default> | |
148 | <comment>Should a CAPTCHA widget be included this Profile form.</comment> | |
149 | <add>1.1</add> | |
150 | </field> | |
151 | <field> | |
152 | <name>is_map</name> | |
153 | <title>Map Profile</title> | |
154 | <type>boolean</type> | |
155 | <default>0</default> | |
156 | <comment>Do we want to map results from this profile.</comment> | |
157 | <add>1.5</add> | |
158 | </field> | |
159 | <field> | |
160 | <name>is_edit_link</name> | |
161 | <title>Show Edit Link?</title> | |
162 | <type>boolean</type> | |
163 | <default>0</default> | |
164 | <comment>Should edit link display in profile selector</comment> | |
165 | <add>1.6</add> | |
166 | </field> | |
167 | <field> | |
168 | <name>is_uf_link</name> | |
169 | <title>Show Link to CMS User</title> | |
170 | <type>boolean</type> | |
171 | <default>0</default> | |
172 | <comment>Should we display a link to the website profile in profile selector</comment> | |
173 | <add>1.7</add> | |
174 | </field> | |
175 | <field> | |
176 | <name>is_update_dupe</name> | |
177 | <title>Update on Duplicate</title> | |
178 | <type>boolean</type> | |
179 | <default>0</default> | |
180 | <comment>Should we update the contact record if we find a duplicate</comment> | |
181 | <add>1.7</add> | |
182 | </field> | |
183 | <field> | |
184 | <name>cancel_URL</name> | |
185 | <title>Profile Cancel URL</title> | |
186 | <type>varchar</type> | |
187 | <length>255</length> | |
188 | <comment>Redirect to URL when Cancle button clik .</comment> | |
189 | <add>1.4</add> | |
190 | </field> | |
191 | <field> | |
192 | <name>is_cms_user</name> | |
193 | <title>Create CMS User?</title> | |
194 | <type>boolean</type> | |
195 | <default>0</default> | |
196 | <comment>Should we create a cms user for this profile </comment> | |
197 | <add>1.8</add> | |
198 | </field> | |
199 | <field> | |
200 | <name>notify</name> | |
201 | <title>Notify on Profile Submit</title> | |
202 | <type>text</type> | |
203 | <add>1.8</add> | |
6a488035 TO |
204 | </field> |
205 | <field> | |
206 | <name>is_reserved</name> | |
61ce9b45 | 207 | <title>Profile Is Reserved</title> |
6a488035 TO |
208 | <type>boolean</type> |
209 | <comment>Is this group reserved for use by some other CiviCRM functionality?</comment> | |
210 | <add>3.0</add> | |
211 | </field> | |
212 | <field> | |
213 | <name>name</name> | |
61ce9b45 | 214 | <title>Profile Name</title> |
6a488035 TO |
215 | <type>varchar</type> |
216 | <length>64</length> | |
217 | <comment>Name of the UF group for directly addressing it in the codebase</comment> | |
218 | <add>3.0</add> | |
219 | </field> | |
a998935a | 220 | <index> |
221 | <name>UI_name</name> | |
222 | <fieldName>name</fieldName> | |
223 | <unique>true</unique> | |
224 | <add>4.7</add> | |
225 | </index> | |
6a488035 TO |
226 | <field> |
227 | <name>created_id</name> | |
61ce9b45 | 228 | <title>Profile Created By</title> |
6a488035 TO |
229 | <type>int unsigned</type> |
230 | <comment>FK to civicrm_contact, who created this UF group</comment> | |
231 | <add>3.0</add> | |
232 | </field> | |
233 | <foreignKey> | |
234 | <name>created_id</name> | |
235 | <table>civicrm_contact</table> | |
236 | <key>id</key> | |
237 | <add>3.0</add> | |
238 | <onDelete>SET NULL</onDelete> | |
239 | </foreignKey> | |
240 | <field> | |
241 | <name>created_date</name> | |
242 | <type>datetime</type> | |
243 | <title>UF Group Created Date</title> | |
244 | <comment>Date and time this UF group was created.</comment> | |
245 | <add>3.0</add> | |
246 | </field> | |
247 | <field> | |
61ce9b45 EM |
248 | <name>is_proximity_search</name> |
249 | <title>Include Proximity Search?</title> | |
250 | <type>boolean</type> | |
251 | <default>0</default> | |
252 | <comment>Should we include proximity search feature in this profile search form?</comment> | |
253 | <add>3.2</add> | |
6a488035 TO |
254 | </field> |
255 | </table> |