Merge pull request #3005 from kurund/CRM-14300
[civicrm-core.git] / xml / schema / Event / EventPage.xml
CommitLineData
3c7d2158 1<?xml version="1.0" encoding="iso-8859-1" ?>
2
3<table>
4 <base>CRM/Event</base>
5 <class>EventPage</class>
6 <name>civicrm_event_page</name>
7 <add>1.7</add>
8 <field>
9 <name>id</name>
10 <type>int unsigned</type>
11 <required>true</required>
12 <comment>Event Page ID</comment>
13 <add>1.7</add>
14 </field>
15 <primaryKey>
16 <name>id</name>
17 <autoincrement>true</autoincrement>
18 </primaryKey>
19 <field>
20 <name>event_id</name>
7c759b5e 21 <title>Event</title>
3c7d2158 22 <type>int unsigned</type>
23 <required>true</required>
24 <comment>Event which this page belongs to.</comment>
25 <add>1.7</add>
26 </field>
27 <foreignKey>
28 <name>event_id</name>
29 <table>civicrm_event</table>
30 <key>id</key>
6a488035
TO
31 <onDelete>CASCADE</onDelete>
32 </foreignKey>
3c7d2158 33 <field>
34 <name>intro_text</name>
35 <type>text</type>
7deea513 36 <html>
37 <type>TextArea</type>
817807ab 38 <rows>6</rows>
39 <cols>50</cols>
7deea513 40 </html>
6a488035
TO
41 <title>Introductory Message</title>
42 <localizable>true</localizable>
43 <comment>Introductory message for Event Registration page. Text and html allowed. Displayed at the top of Event Registration form.</comment>
3c7d2158 44 <add>1.7</add>
45 </field>
46 <field>
47 <name>footer_text</name>
6a488035 48 <title>Footer Message</title>
3c7d2158 49 <type>text</type>
7deea513 50 <html>
51 <type>TextArea</type>
817807ab 52 <rows>6</rows>
53 <cols>50</cols>
7deea513 54 </html>
6a488035
TO
55 <localizable>true</localizable>
56 <comment>Footer message for Event Registration page. Text and html allowed. Displayed at the bottom of Event Registration form.</comment>
3c7d2158 57 <add>1.7</add>
58 </field>
59 <field>
60 <name>confirm_title</name>
61 <type>varchar</type>
6a488035 62 <title>Confirmation Title</title>
3c7d2158 63 <length>255</length>
6a488035
TO
64 <default>NULL</default>
65 <localizable>true</localizable>
66 <comment>Title for Confirmation page.</comment>
3c7d2158 67 <add>1.7</add>
68 </field>
69 <field>
70 <name>confirm_text</name>
71 <type>text</type>
7deea513 72 <html>
73 <type>TextArea</type>
817807ab 74 <rows>6</rows>
75 <cols>50</cols>
7deea513 76 </html>
6a488035
TO
77 <title>Confirm Text</title>
78 <localizable>true</localizable>
79 <comment>Introductory message for Event Registration page. Text and html allowed. Displayed at the top of Event Registration form.</comment>
3c7d2158 80 <add>1.7</add>
81 </field>
82 <field>
83 <name>confirm_footer_text</name>
84 <type>text</type>
6a488035 85 <title>Footer Text</title>
7deea513 86 <html>
87 <type>TextArea</type>
817807ab 88 <rows>6</rows>
89 <cols>50</cols>
7deea513 90 </html>
6a488035
TO
91 <localizable>true</localizable>
92 <comment>Footer message for Event Registration page. Text and html allowed. Displayed at the bottom of Event Registration form.</comment>
3c7d2158 93 <add>1.7</add>
94 </field>
95 <field>
96 <name>is_email_confirm</name>
97 <type>boolean</type>
6a488035 98 <title>Is confirm email</title>
3c7d2158 99 <default>0</default>
100 <comment>If true, confirmation is automatically emailed to contact on successful registration.</comment>
101 <add>1.7</add>
102 </field>
103 <field>
104 <name>confirm_email_text</name>
105 <type>text</type>
6a488035 106 <title>Confirmation Email Text</title>
7deea513 107 <html>
108 <type>TextArea</type>
817807ab 109 <rows>4</rows>
110 <cols>50</cols>
7deea513 111 </html>
6a488035
TO
112 <localizable>true</localizable>
113 <comment>text to include above standard event info on confirmation email. emails are text-only, so do not allow html for now</comment>
3c7d2158 114 <add>1.7</add>
115 </field>
116 <field>
117 <name>confirm_from_name</name>
118 <type>varchar</type>
6a488035 119 <title>Confirm From Name</title>
3c7d2158 120 <length>255</length>
6a488035
TO
121 <localizable>true</localizable>
122 <comment>FROM email name used for confirmation emails.</comment>
3c7d2158 123 <add>1.7</add>
6a488035 124 </field>
3c7d2158 125 <field>
126 <name>confirm_from_email</name>
127 <type>varchar</type>
6a488035 128 <title>Confirm From Email</title>
3c7d2158 129 <length>255</length>
6a488035 130 <comment>FROM email address used for confirmation emails.</comment>
3c7d2158 131 <add>1.7</add>
132 </field>
133 <field>
134 <name>cc_confirm</name>
135 <type>varchar</type>
136 <length>255</length>
6a488035 137 <comment>comma-separated list of email addresses to cc each time a confirmation is sent</comment>
3c7d2158 138 <add>1.7</add>
6a488035 139 </field>
3c7d2158 140 <field>
141 <name>bcc_confirm</name>
142 <type>varchar</type>
143 <length>255</length>
6a488035 144 <comment>comma-separated list of email addresses to bcc each time a confirmation is sent</comment>
3c7d2158 145 <add>1.7</add>
6a488035
TO
146 </field>
147 <field>
148 <name>default_fee_id</name>
149 <type>int unsigned</type>
150 <comment>FK to civicrm_option_value.</comment>
151 <add>1.7</add>
152 </field>
153 <field>
154 <name>default_discount_id</name>
155 <type>int unsigned</type>
156 <comment>FK to civicrm_option_value.</comment>
157 <add>1.7</add>
158 </field>
3c7d2158 159 <field>
160 <name>thankyou_title</name>
161 <type>varchar</type>
6a488035 162 <title>ThankYou Title</title>
3c7d2158 163 <length>255</length>
6a488035
TO
164 <default>NULL</default>
165 <localizable>true</localizable>
166 <comment>Title for ThankYou page.</comment>
3c7d2158 167 <add>1.7</add>
168 </field>
169 <field>
170 <name>thankyou_text</name>
171 <type>text</type>
7deea513 172 <html>
173 <type>TextArea</type>
817807ab 174 <rows>6</rows>
175 <cols>50</cols>
7deea513 176 </html>
6a488035
TO
177 <title>ThankYou Text</title>
178 <localizable>true</localizable>
179 <comment>ThankYou Text.</comment>
3c7d2158 180 <add>1.7</add>
181 </field>
182 <field>
183 <name>thankyou_footer_text</name>
184 <type>text</type>
6a488035 185 <title>Footer Text</title>
7deea513 186 <html>
187 <type>TextArea</type>
817807ab 188 <rows>6</rows>
189 <cols>50</cols>
7deea513 190 </html>
6a488035
TO
191 <localizable>true</localizable>
192 <comment>Footer message.</comment>
3c7d2158 193 <add>1.7</add>
194 </field>
195 <field>
196 <name>is_pay_later</name>
197 <type>boolean</type>
198 <default>0</default>
199 <comment>if true - allows the user to send payment directly to the org later</comment>
200 <add>2.0</add>
201 </field>
202 <field>
203 <name>pay_later_text</name>
204 <type>text</type>
6a488035 205 <localizable>true</localizable>
3c7d2158 206 <comment>The text displayed to the user in the main form</comment>
207 <add>2.0</add>
6a488035 208 </field>
3c7d2158 209 <field>
210 <name>pay_later_receipt</name>
211 <type>text</type>
6a488035 212 <localizable>true</localizable>
3c7d2158 213 <comment>The receipt sent to the user instead of the normal receipt text</comment>
214 <add>2.0</add>
6a488035 215 </field>
3c7d2158 216 <field>
217 <name>is_multiple_registrations</name>
6a488035 218 <type>boolean</type>
3c7d2158 219 <default>0</default>
220 <comment>if true - allows the user to register multiple participants for event</comment>
221 <add>2.1</add>
6a488035
TO
222 </field>
223</table>