Last Update: 2023-11-16
With a sweepstake template, two distinct pages can be designed, one for the overview of all sweepstakes, and a detail page, for participation.
For single sweepstake campaigns only sweepstake_detail.php
is necessary.
sweepstake_index.php |
Overview |
sweepstake_detail.php |
Participation Page |
Sweepstake custom fields and snipplets are defined in sweepstake_config.xml
.
The following classes can be used to style generated form elements in event subscription form.
CSS Class | used for |
---|---|
Layout: | |
.form_item_template_1 | wrapper table of a vertical element |
.form_item_template_3 | wrapper table of a horizontal element |
.title | container of headline and title of fields |
.text | container of text and fields |
.col | column of table |
Form elements: | |
---|---|
.feld | form all input fields |
.mod_formitem_field | single line text input (not address data field) |
.mod_formitem_textarea | multi line text input |
.mod_formitem_select | dropdown input |
.mod_formitem_textarea | multi line text input |
.mod_formitem_option | container of radio/checkbox |
.ep-radio-container | container of radio input |
.ep-checkbox-container | container of checkbox input |
.ep-checkbox-single | container of single checkbox input |
.mod_form_button | form button |
.mod_formitem_title | title of input fields |
.mod_formitem_description | desctiption text for fields |
.mod_formitem_text | text elements |
.ep-file-upload | file input field |
.ep-label | label of radio/checkbox |
.ep-conditions | container of conditions checkbox |
.gallery | container of gallery |
.readonly | disabled input |
Prices: | |
---|---|
.ep-sweepstake-price | container of one selectable price |
.ep-sweepstake-price-select | container of radio |
.ep-sweepstake-price-picture | container of price picture |
.ep-sweepstake-price-title | container of price title |
.ep-sweepstake-price-description | container of price description |