php js css php js css

Changes

Changes to Email message: Event Reminder

80881
Yesterday 10:07pm
System
Modified email message
PART OF Find and Replace
118346
Yesterday 10:07pm
Wilkie, Natasha
Modified email message
Design Id:
Id:
91
91
Type:
autoresponder
autoresponder
Datetime:
2020-12-02 02:31:24
2020-12-02 02:31:24
Subject:
Event Reminder
Event Reminder
Content Html:
<style>
h1
{
text-align: center;
}

/* Grey bar dividing sections. */
td.divider
{
background-color: #d2d2d2;
}
table.divider
{
margin: 10px;
}

/* Container for content in each section. */
td.section
{
padding: 10px;
}
td.section.noBg
{
background-color: none;
}
table.section
{
border: 1px solid #d2d2d2;
border-top: 0px;
}

/* Hero section */
td.hero
{
background-color: #F1F1F1;
}

</style>
<!-- Full entities from the database. Note that we allow the full arrAttendee
and arrContact to be passed through, for testing. -->
<logic:variable as="arrAttendee" value="[? \Components\Marketing\Events\Attendees::get($iAttendeeId) ?]" />
<logic:variable as="arrContact" value="[? ($arrTestingContact) ? $arrTestingContact : (\Components\Customers\Contacts::current()) ?]" />
<logic:variable as="arrEvent" value="[? ($arrTestingEvent) ? $arrTestingEvent : (\Components\Marketing\Events::get($arrAttendee['event_id'])) ?]" />
<logic:variable as="arrReminderConfig" value="[? (\Components\Marketing\Events\Reminders::getConfig($iReminderId)) ?]" />
<!-- Common-use variables for convenience -->
<logic:if test="!$bNoGuestsFilter">
<logic:variable as="arrGuests" value="[? ($arrAttendee) ? (\Components\Marketing\Events\Attendees::getAll(
[
'filter' => [
['event_attendee_parent_attendee_id', '=', $arrAttendee['event_attendee_id']]
],
'joins' => [
['customers_contacts', 'contact_id']
]
]
)) : ([]) ?]" />
</logic:if>
<logic:variable as="reminderType" value="[? $arrReminderConfig['strType'] ?]" />
<logic:variable as="customDescription" value="[? ($arrReminderConfig['strDescriptionFrom'] == 'custom') ? $arrReminderConfig['strCustomDescription'] : null ?]" />
<logic:variable as="contactName" value="[? \Components\Customers\Contacts::renderName($arrContact) ?]" />
<logic:variable as="eventName" value="[? $arrEvent['event_title'] ?]" />
<logic:variable as="startTime" value="[? \Components\Marketing\Events::renderTime($arrEvent, $arrEvent['event_start_datetime']) ?]" />
<logic:variable as="endTime" value="[? \Components\Marketing\Events::renderTime($arrEvent, $arrEvent['event_end_datetime']) ?]" />
<logic:variable as="eventTimezone" value="[? $arrEvent['event_timezone'] ?]" />
<logic:variable as="locationAddress" value="[? \Components\Marketing\Events\Locations::getColumn($arrEvent['event_location_id'], 'event_location_description') ?]" />
<logic:variable as="locationDescription" value="[? \Components\Marketing\Events\Locations::getColumn($arrEvent['event_location_id'], 'event_location_room_description') ?]" />
<logic:variable as="description" value="[? $arrEvent['event_description'] ?]" />

<!-- Spacing -->
<table width="90%" align="center" cellspacing="0" cellpadding="0"><tr><td height="20"></td></tr></table>

<!-- Hero Section -->
<table align="center" cellpadding="0" cellspacing="0" width="90%">
<tr>
<td class="section hero" style="padding: 20px 10px 20px 10px;" align="center" >

<!-- Contact -->
<p style="text-align: center; font-style: italic;">
<strong>[? $contactName ?]</strong>
<logic:if test="$arrGuests && count($arrGuests)">
&nbsp;and Guests:<br />
<data:repeater datasource="$arrGuests" as="arrGuest">
<logic:variable as="guestName" value="[? \Components\Customers\Contacts::renderName($arrGuest) ?]" />
[? $guestName ?]<br />
</data:repeater>
</logic:if>
</p>

<!-- Greeting -->
<h1 style="text-align: center;">
<logic:if test="$reminderType == 'attend_reminder'">
A Friendly Reminder
</logic:if>
<logic:else test="$reminderType == 'rsvp_reminder'">
You're Invited - Please RSVP
</logic:else>
<logic:else>
You're Confirmed
</logic:else>
</h1>

<!-- Title -->
<h3 style="text-align: center;">
<logic:if test="$reminderType == 'attend_reminder'">
You're registered to attend
</logic:if>
<a href="/community/event-rsvp/?event_id=[? $arrEvent['event_id'] ?]">
[? $eventName ?]
</a>
</h3>

<!-- When -->
<p style="text-align: center;">
Starts [? $startTime ?] (<i>[? $eventTimezone ?] time</i>),<br />
Concludes [? $endTime ?].<br />
<a href="/community/event-rsvp/get_ical/?event_id=[? $arrEvent['event_id'] ?]">Add to Calendar</a>
</p>

<!-- Where -->
<logic:if test="!$bDisableMap && ($locationAddress || $locationDescription)">
<p style="text-align:center;">
[? $locationAddress ?] <br />
[? $locationDescription ?] <br />
</p>
</logic:if>

<!-- Link -->
<logic:if test="$reminderType == 'rsvp_reminder'">

<!-- spacing -->
<table width="90%" align="center" cellspacing="0" cellpadding="0"><tr><td height="20"></td></tr></table>

<table align="center" cellpadding="0" cellspacing="0" width="90%">
<tr>
<td class="section" style="text-align: center; font-size: 20px">
<templates:button href="/community/event-rsvp/?event_id=[? $arrEvent['event_id'] ?]" variant="Classic" bgcolor="#242424" color="#fff" borderRadius="0">RSVP</templates:button>
</td>
</tr>
</table>
</logic:if>
</td>
</tr>
</table>

<!-- Description (if set and not equal to default CK Editor value) -->
<logic:if test="$description && $description != '&lt;p&gt;&amp;#8203;&lt;/p&gt;'">

<!-- spacing -->
<table width="90%" align="center" cellspacing="0" cellpadding="0"><tr><td height="20"></td></tr></table>

<table align="center" cellpadding="0" cellspacing="0" width="80%">
<tr>
<td class="section noBg">
<logic:if test="$customDescription !== null">
[? $customDescription ?]
</logic:if>
<logic:else>
[? $description ?]
</logic:else>
</td>
</tr>
</table>
</logic:if>

<!-- Show Map -->
<logic:if test="!$bDisableMap && ($locationAddress || $locationDescription)">

<!-- spacing -->
<table width="90%" align="center" cellspacing="0" cellpadding="0"><tr><td height="20"></td></tr></table>

<table align="center" cellpadding="0" cellspacing="0" width="80%">
<tr>
<td class="section" style="text-align: center">
<logic:if test="$locationAddress">
<div style="width:450px; margin:0px auto 5px auto;">
<a href="[? 'https://maps.google.com/?q=' + preg_replace('/\s+/', '+', $locationAddress + ' ' + $locationDescription) ?]">
<thirdparty:googlemap static="true" width="450">
<thirdparty:googlemapmarker address="[? $locationAddress + ' ' + $locationDescription ?]" />
</thirdparty:googlemap>
</a>
</div>
</logic:if>
[? $locationAddress ?] <br />
[? $locationDescription ?] <br />
</td>
</tr>
</table>
</logic:if>

<!-- spacing -->
<table width="90%" align="center" cellspacing="0" cellpadding="0"><tr><td height="20"></td></tr></table>
<style>
h1
{
text-align: center;
}

/* Grey bar dividing sections. */
td.divider
{
background-color: #d2d2d2;
}
table.divider
{
margin: 10px;
}

/* Container for content in each section. */
td.section
{
padding: 10px;
}
td.section.noBg
{
background-color: none;
}
table.section
{
border: 1px solid #d2d2d2;
border-top: 0px;
}

/* Hero section */
td.hero
{
background-color: #F1F1F1;
}

</style>
<!-- Full entities from the database. Note that we allow the full arrAttendee
and arrContact to be passed through, for testing. -->
<logic:variable as="arrAttendee" value="[? \Components\Marketing\Events\Attendees::get($iAttendeeId) ?]" />
<logic:variable as="arrContact" value="[? ($arrTestingContact) ? $arrTestingContact : (\Components\Customers\Contacts::current()) ?]" />
<logic:variable as="arrEvent" value="[? ($arrTestingEvent) ? $arrTestingEvent : (\Components\Marketing\Events::get($arrAttendee['event_id'])) ?]" />
<logic:variable as="arrReminderConfig" value="[? (\Components\Marketing\Events\Reminders::getConfig($iReminderId)) ?]" />
<!-- Common-use variables for convenience -->
<logic:if test="!$bNoGuestsFilter">
<logic:variable as="arrGuests" value="[? ($arrAttendee) ? (\Components\Marketing\Events\Attendees::getAll(
[
'filter' => [
['event_attendee_parent_attendee_id', '=', $arrAttendee['event_attendee_id']]
],
'joins' => [
['customers_contacts', 'contact_id']
]
]
)) : ([]) ?]" />
</logic:if>
<logic:variable as="reminderType" value="[? $arrReminderConfig['strType'] ?]" />
<logic:variable as="customDescription" value="[? ($arrReminderConfig['strDescriptionFrom'] == 'custom') ? $arrReminderConfig['strCustomDescription'] : null ?]" />
<logic:variable as="contactName" value="[? \Components\Customers\Contacts::renderName($arrContact) ?]" />
<logic:variable as="eventName" value="[? $arrEvent['event_title'] ?]" />
<logic:variable as="startTime" value="[? \Components\Marketing\Events::renderTime($arrEvent, $arrEvent['event_start_datetime']) ?]" />
<logic:variable as="endTime" value="[? \Components\Marketing\Events::renderTime($arrEvent, $arrEvent['event_end_datetime']) ?]" />
<logic:variable as="eventTimezone" value="[? $arrEvent['event_timezone'] ?]" />
<logic:variable as="locationAddress" value="[? \Components\Marketing\Events\Locations::getColumn($arrEvent['event_location_id'], 'event_location_description') ?]" />
<logic:variable as="locationDescription" value="[? \Components\Marketing\Events\Locations::getColumn($arrEvent['event_location_id'], 'event_location_room_description') ?]" />
<logic:variable as="description" value="[? $arrEvent['event_description'] ?]" />

<!-- Spacing -->
<table width="90%" align="center" cellspacing="0" cellpadding="0"><tr><td height="20"></td></tr></table>

<!-- Hero Section -->
<table align="center" cellpadding="0" cellspacing="0" width="90%">
<tr>
<td class="section hero" style="padding: 20px 10px 20px 10px;" align="center" >

<!-- Contact -->
<p style="text-align: center; font-style: italic;">
<strong>[? $contactName ?]</strong>
<logic:if test="$arrGuests && count($arrGuests)">
&nbsp;and Guests:<br />
<data:repeater datasource="$arrGuests" as="arrGuest">
<logic:variable as="guestName" value="[? \Components\Customers\Contacts::renderName($arrGuest) ?]" />
[? $guestName ?]<br />
</data:repeater>
</logic:if>
</p>

<!-- Greeting -->
<h1 style="text-align: center;">
<logic:if test="$reminderType == 'attend_reminder'">
A Friendly Reminder
</logic:if>
<logic:else test="$reminderType == 'rsvp_reminder'">
You're Invited - Please RSVP
</logic:else>
<logic:else>
You're Confirmed
</logic:else>
</h1>

<!-- Title -->
<h3 style="text-align: center;">
<logic:if test="$reminderType == 'attend_reminder'">
You're registered to attend
</logic:if>
<a href="/community/event-rsvp/?event_id=[? $arrEvent['event_id'] ?]">
[? $eventName ?]
</a>
</h3>

<!-- When -->
<p style="text-align: center;">
Starts [? $startTime ?] (<i>[? $eventTimezone ?] time</i>),<br />
Concludes [? $endTime ?].<br />
<a href="/community/event-rsvp/get_ical/?event_id=[? $arrEvent['event_id'] ?]">Add to Calendar</a>
</p>

<!-- Where -->
<logic:if test="!$bDisableMap && ($locationAddress || $locationDescription)">
<p style="text-align:center;">
[? $locationAddress ?] <br />
[? $locationDescription ?] <br />
</p>
</logic:if>

<!-- Link -->
<logic:if test="$reminderType == 'rsvp_reminder'">

<!-- spacing -->
<table width="90%" align="center" cellspacing="0" cellpadding="0"><tr><td height="20"></td></tr></table>

<table align="center" cellpadding="0" cellspacing="0" width="90%">
<tr>
<td class="section" style="text-align: center; font-size: 20px">
<templates:button href="/community/event-rsvp/?event_id=[? $arrEvent['event_id'] ?]" variant="Classic" bgcolor="#242424" color="#fff" borderRadius="0">RSVP</templates:button>
</td>
</tr>
</table>
</logic:if>
</td>
</tr>
</table>

<!-- Description (if set and not equal to default CK Editor value) -->
<logic:if test="$description && $description != '&lt;p&gt;&amp;#8203;&lt;/p&gt;'">

<!-- spacing -->
<table width="90%" align="center" cellspacing="0" cellpadding="0"><tr><td height="20"></td></tr></table>

<table align="center" cellpadding="0" cellspacing="0" width="80%">
<tr>
<td class="section noBg">
<logic:if test="$customDescription !== null">
[? $customDescription ?]
</logic:if>
<logic:else>
[? $description ?]
</logic:else>
</td>
</tr>
</table>
</logic:if>

<!-- Show Map -->
<logic:if test="!$bDisableMap && ($locationAddress || $locationDescription)">

<!-- spacing -->
<table width="90%" align="center" cellspacing="0" cellpadding="0"><tr><td height="20"></td></tr></table>

<table align="center" cellpadding="0" cellspacing="0" width="80%">
<tr>
<td class="section" style="text-align: center">
<logic:if test="$locationAddress">
<div style="width:450px; margin:0px auto 5px auto;">
<a href="[? 'https://maps.google.com/?q=' + preg_replace('/\s+/', '+', $locationAddress + ' ' + $locationDescription) ?]">
<thirdparty:googlemap static="true" width="450">
<thirdparty:googlemapmarker address="[? $locationAddress + ' ' + $locationDescription ?]" />
</thirdparty:googlemap>
</a>
</div>
</logic:if>
[? $locationAddress ?] <br />
[? $locationDescription ?] <br />
</td>
</tr>
</table>
</logic:if>

<!-- spacing -->
<table width="90%" align="center" cellspacing="0" cellpadding="0"><tr><td height="20"></td></tr></table>
Content Plaintext:

															

														
Content Plaintext Only:
0
0
Content Plaintext Autogenerate:
1
1
From Address:
info@monsieurgraphic.com
info@monsieurgraphic.com
From Name:
Monsieur Graphic
Monsieur Graphic
Reads Tracked:
1
1
Links Tracked:
1
1
Links Login:
no
no
Handle Bounces:
1
1
Automation Always Send:
0
0