This is the procedure to create a prize calendar from the default template
Create a campaign
Before creating a campaign, make sure you have the latest snippet version 5.0.48 or higher. Just to be sure, turn Mailocator off and on in version 5.0.4+ (See Monitoring for information on the specific subversion.)
Adding a campaign to the script
- In the scenario, select New Campaign.
- select the name of the campaign and select Game Campaigns
Activate calendar
- In the scenario, on the campaign line, click on SETUP
- select Calendar
- in the configuration dialog first create a list of prizes for each day, which can be up to 31, 24 in the case of the Advent calendar
- in the column Win ID enter the number of the day of the month (1..31)
- name the prize and select the set of codes to use for that day
- in the Settings / Settings tab you can later tweak the calendar behaviour
Plugin
For the calendar function the Calendar5
plugin must be enabled.
In the Settings project and the Plugins section, make sure it is enabled. If not, activate it.
Editing a campaign
Selecting and editing calendar content
- in the Scenario, assign one of the default window types to the campaign line
- open the content in Editor and align the number of days with the number of days in the configuration
- the status of the subscribe window (the state where the user selects a valid day) can be found in View under Subscriber (similar to Thank you and others).
Win box structure
- Each field must have the following structure and a unique
data-day
attribute with the day of the month specified, and must adhere to this structure:
<div class="day-box tpx-master" data-name="Day" data-day="1">
<div class="day-door tpx-slave">
<div class="door-frontside">1</div>
<div class="door-backside" data-name="Backside"></div>
</div>
</div>
- in the
.door-frontside
element you can set the appearance of the window for a specific day - in the
.door-frontside
element you can set the window's internal colour
View winnings and promo codes
You can use the following shortcuts to view and submit your winnings:
{{PRIZE_NAME}}
- the name of the prize as it appears in the configuration{{PRIZE_ID}}
- the number of the win, i.e. the day{{PROMO_CODE}}
- the winning code, if used{{PROMO_CODE_TEXT}}
- the name of the winning code, if used