php js css php js css

Changes

Changes to Email message: Event Reminder

394374
Yesterday 12:07am
System
Modified email message
PART OF Find and Replace
396766
Yesterday 1:08am
McNaught, Scott
Modified email message
Can't Undo: The email message 61 does not currently exist, it may have been moved or deleted. In order to undo this change, you first need to restore the email message
Datetime:
From Address:
Id:
61
61
Type:
autoresponder
autoresponder
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: #c0c0c0;
}

</style>
<!-- Full entities from the database. Note that we allow the full arrAttendee
and arrContact to be passed through, for testing. -->
<ss:logic:variable as="arrAttendee" value="[? \Components\Marketing\Events\Attendees::get($iAttendeeId) ?]" />
<ss:logic:variable as="arrContact" value="[? ($arrTestingContact) ? $arrTestingContact : (\Components\Customers\Contacts::current()) ?]" />
<ss:logic:variable as="arrEvent" value="[? ($arrTestingEvent) ? $arrTestingEvent : (\Components\Marketing\Events::get($arrAttendee['event_id'])) ?]" />
<ss:logic:variable as="arrReminderConfig" value="[? (\Components\Marketing\Events\Reminders::getConfig($iReminderId)) ?]" />
<!-- Common-use variables for convenience -->
<ss:logic:if test="!$bNoGuestsFilter">
<ss:logic:variable as="arrGuests" value="[? ($arrAttendee) ? (\Components\Marketing\Events\Attendees::getAll(
array(
'filter' =&gt; array(
array('event_attendee_parent_attendee_id', '=', $arrAttendee['event_attendee_id'])
),
'joins' =&gt; array(
array('customers_contacts', 'contact_id')
)
)
)) : (array()) ?]" />
</ss:logic:if>
<ss:logic:variable as="reminderType" value="[? $arrReminderConfig['strType'] ?]" />
<ss:logic:variable as="customDescription" value="[? ($arrReminderConfig['strDescriptionFrom'] == 'custom') ? $arrReminderConfig['strCustomDescription'] : null ?]" />
<ss:logic:variable as="contactName" value="[? \Components\Customers\Contacts::renderName($arrContact) ?]" />
<ss:logic:variable as="eventName" value="[? $arrEvent['event_title'] ?]" />
<ss:logic:variable as="startTime" value="[? \Components\Marketing\Events::renderTime($arrEvent, $arrEvent['event_start_datetime']) ?]" />
<ss:logic:variable as="endTime" value="[? \Components\Marketing\Events::renderTime($arrEvent, $arrEvent['event_end_datetime']) ?]" />
<ss:logic:variable as="eventTimezone" value="[? $arrEvent['event_timezone'] ?]" />
<ss:logic:variable as="locationAddress" value="[? \Components\Marketing\Events\Locations::getColumn($arrEvent['event_location_id'], 'event_location_description') ?]" />
<ss:logic:variable as="locationDescription" value="[? \Components\Marketing\Events\Locations::getColumn($arrEvent['event_location_id'], 'event_location_room_description') ?]" />
<ss: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>
<table width="90%" align="center" cellspacing="0" cellpadding="0"><tr><td height="4" class="divider"></td></tr></table>
<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 hero" style="padding:20px 10px 20px 10px;">
<p style="text-align:center; font-style:italic; font-size:12px;">
<ss:logic:if test="$reminderType == 'attend_reminder'">
Reminder that you are registered to attend
</ss:logic:if>
<ss:logic:else test="$reminderType == 'rsvp_reminder'">
Reminder to RSVP for
</ss:logic:else>
<ss:logic:else>
Thank you for RSVP'ing to
</ss:logic:else>

</p>
<h1 style="color:white; margin-left:auto; margin-right:auto; width:300px">[? $eventName ?]</h1>
</td>
</tr>
</table>
<!-- Description (if set and not equal to default CK Editor value) -->
<ss: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 width="90%" align="center" cellspacing="0" cellpadding="0"><tr><td height="4" class="divider"></td></tr></table>
<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">
<ss:logic:if test="$customDescription !== null">
[? $customDescription ?]
</ss:logic:if>
<ss:logic:else>
[? $description ?]
</ss:logic:else>
</td>
</tr>
</table>
</ss:logic:if>
<!-- spacing -->
<table width="90%" align="center" cellspacing="0" cellpadding="0"><tr><td height="20"></td></tr></table>
<table width="90%" align="center" cellspacing="0" cellpadding="0"><tr><td height="4" class="divider"></td></tr></table>
<table width="90%" align="center" cellspacing="0" cellpadding="0"><tr><td height="20"></td></tr></table>
<!-- When -->
<table align="center" cellpadding="0" cellspacing="0" width="80%">
<tr>
<td class="section">
Starts [? $startTime ?] (<i>[? $eventTimezone ?] time</i>).<br />
<a href="[? '/community/event-rsvp/get_ical/?event_id=' + $arrEvent['event_id'] ?]">Add to Calendar</a>
</td>
</tr>
</table>
<!-- spacing -->
<table width="90%" align="center" cellspacing="0" cellpadding="0"><tr><td height="20"></td></tr></table>
<table width="90%" align="center" cellspacing="0" cellpadding="0"><tr><td height="4" class="divider"></td></tr></table>
<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">
<table width="400" style="margin: 0px auto 0px auto" align="center">
<tr>
<td align="center">
<i style="display:inline-block; margin-bottom:5px;">Invited Contact:</i><br />
[? $contactName ?]
</td>
<ss:logic:if test="count($arrGuests)">
<td align="center">
<i style="display:inline-block; margin-bottom:5px;">Guests:</i><br />
<ss:data:repeater datasource="$arrGuests" as="arrGuest">
<ss:logic:variable as="guestName" value="[? \Components\Customers\Contacts::renderName($arrGuest) ?]" />
[? $guestName ?]
</ss:data:repeater>
</td>
</ss:logic:if>
</tr>
</table>
</td>
</tr>
</table>
<!-- Where -->
<ss:logic:if test="!$bDisableMap && ($locationAddress || $locationDescription)">
<!-- spacing -->
<table width="90%" align="center" cellspacing="0" cellpadding="0"><tr><td height="20"></td></tr></table>
<table width="90%" align="center" cellspacing="0" cellpadding="0"><tr><td height="4" class="divider"></td></tr></table>
<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">
<ss: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) ?]">
<ss:thirdparty:googlemap static="true" width="450">
<ss:thirdparty:googlemapmarker address="[? $locationAddress + ' ' + $locationDescription ?]" />
</ss:thirdparty:googlemap>
</a>
</div>
</ss:logic:if>
[? $locationAddress ?] <br />
[? $locationDescription ?] <br />
</td>
</tr>
</table>
</ss:logic:if>
<!-- spacing -->
<table width="90%" align="center" cellspacing="0" cellpadding="0"><tr><td height="20"></td></tr></table>
<table width="90%" align="center" cellspacing="0" cellpadding="0"><tr><td height="4" class="divider"></td></tr></table>
<table width="90%" align="center" cellspacing="0" cellpadding="0"><tr><td height="20"></td></tr></table>
<!-- Link -->
<ss:logic:if test="$reminderType == 'rsvp_reminder'">
<table align="center" cellpadding="0" cellspacing="0" width="80%">
<tr>
<td class="section" style="text-align: center; font-size: 20px">
<a href="[? 'http://' + \Components\Settings\Domains::getPrimary() + '/community/event-rsvp/?event_id=' + $arrEvent['event_id'] ?]">Click Here To RSVP</a>
</td>
</tr>
</table>

<!-- spacing -->
<table width="90%" align="center" cellspacing="0" cellpadding="0"><tr><td height="20"></td></tr></table>
<table width="90%" align="center" cellspacing="0" cellpadding="0"><tr><td height="4" class="divider"></td></tr></table>
<table width="90%" align="center" cellspacing="0" cellpadding="0"><tr><td height="20"></td></tr></table>
</ss:logic:if>
<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: #c0c0c0;
}

</style>
<!-- Full entities from the database. Note that we allow the full arrAttendee
and arrContact to be passed through, for testing. -->
<ss:logic:variable as="arrAttendee" value="[? \Components\Marketing\Events\Attendees::get($iAttendeeId) ?]" />
<ss:logic:variable as="arrContact" value="[? ($arrTestingContact) ? $arrTestingContact : (\Components\Customers\Contacts::current()) ?]" />
<ss:logic:variable as="arrEvent" value="[? ($arrTestingEvent) ? $arrTestingEvent : (\Components\Marketing\Events::get($arrAttendee['event_id'])) ?]" />
<ss:logic:variable as="arrReminderConfig" value="[? (\Components\Marketing\Events\Reminders::getConfig($iReminderId)) ?]" />
<!-- Common-use variables for convenience -->
<ss:logic:if test="!$bNoGuestsFilter">
<ss:logic:variable as="arrGuests" value="[? ($arrAttendee) ? (\Components\Marketing\Events\Attendees::getAll(
array(
'filter' =&gt; array(
array('event_attendee_parent_attendee_id', '=', $arrAttendee['event_attendee_id'])
),
'joins' =&gt; array(
array('customers_contacts', 'contact_id')
)
)
)) : (array()) ?]" />
</ss:logic:if>
<ss:logic:variable as="reminderType" value="[? $arrReminderConfig['strType'] ?]" />
<ss:logic:variable as="customDescription" value="[? ($arrReminderConfig['strDescriptionFrom'] == 'custom') ? $arrReminderConfig['strCustomDescription'] : null ?]" />
<ss:logic:variable as="contactName" value="[? \Components\Customers\Contacts::renderName($arrContact) ?]" />
<ss:logic:variable as="eventName" value="[? $arrEvent['event_title'] ?]" />
<ss:logic:variable as="startTime" value="[? \Components\Marketing\Events::renderTime($arrEvent, $arrEvent['event_start_datetime']) ?]" />
<ss:logic:variable as="endTime" value="[? \Components\Marketing\Events::renderTime($arrEvent, $arrEvent['event_end_datetime']) ?]" />
<ss:logic:variable as="eventTimezone" value="[? $arrEvent['event_timezone'] ?]" />
<ss:logic:variable as="locationAddress" value="[? \Components\Marketing\Events\Locations::getColumn($arrEvent['event_location_id'], 'event_location_description') ?]" />
<ss:logic:variable as="locationDescription" value="[? \Components\Marketing\Events\Locations::getColumn($arrEvent['event_location_id'], 'event_location_room_description') ?]" />
<ss: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>
<table width="90%" align="center" cellspacing="0" cellpadding="0"><tr><td height="4" class="divider"></td></tr></table>
<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 hero" style="padding:20px 10px 20px 10px;">
<p style="text-align:center; font-style:italic; font-size:12px;">
<ss:logic:if test="$reminderType == 'attend_reminder'">
Reminder that you are registered to attend
</ss:logic:if>
<ss:logic:else test="$reminderType == 'rsvp_reminder'">
Reminder to RSVP for
</ss:logic:else>
<ss:logic:else>
Thank you for RSVP'ing to
</ss:logic:else>

</p>
<h1 style="color:white; margin-left:auto; margin-right:auto; width:300px">[? $eventName ?]</h1>
</td>
</tr>
</table>
<!-- Description (if set and not equal to default CK Editor value) -->
<ss: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 width="90%" align="center" cellspacing="0" cellpadding="0"><tr><td height="4" class="divider"></td></tr></table>
<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">
<ss:logic:if test="$customDescription !== null">
[? $customDescription ?]
</ss:logic:if>
<ss:logic:else>
[? $description ?]
</ss:logic:else>
</td>
</tr>
</table>
</ss:logic:if>
<!-- spacing -->
<table width="90%" align="center" cellspacing="0" cellpadding="0"><tr><td height="20"></td></tr></table>
<table width="90%" align="center" cellspacing="0" cellpadding="0"><tr><td height="4" class="divider"></td></tr></table>
<table width="90%" align="center" cellspacing="0" cellpadding="0"><tr><td height="20"></td></tr></table>
<!-- When -->
<table align="center" cellpadding="0" cellspacing="0" width="80%">
<tr>
<td class="section">
Starts [? $startTime ?] (<i>[? $eventTimezone ?] time</i>).<br />
<a href="[? '/community/event-rsvp/get_ical/?event_id=' + $arrEvent['event_id'] ?]">Add to Calendar</a>
</td>
</tr>
</table>
<!-- spacing -->
<table width="90%" align="center" cellspacing="0" cellpadding="0"><tr><td height="20"></td></tr></table>
<table width="90%" align="center" cellspacing="0" cellpadding="0"><tr><td height="4" class="divider"></td></tr></table>
<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">
<table width="400" style="margin: 0px auto 0px auto" align="center">
<tr>
<td align="center">
<i style="display:inline-block; margin-bottom:5px;">Invited Contact:</i><br />
[? $contactName ?]
</td>
<ss:logic:if test="count($arrGuests)">
<td align="center">
<i style="display:inline-block; margin-bottom:5px;">Guests:</i><br />
<ss:data:repeater datasource="$arrGuests" as="arrGuest">
<ss:logic:variable as="guestName" value="[? \Components\Customers\Contacts::renderName($arrGuest) ?]" />
[? $guestName ?]
</ss:data:repeater>
</td>
</ss:logic:if>
</tr>
</table>
</td>
</tr>
</table>
<!-- Where -->
<ss:logic:if test="!$bDisableMap && ($locationAddress || $locationDescription)">
<!-- spacing -->
<table width="90%" align="center" cellspacing="0" cellpadding="0"><tr><td height="20"></td></tr></table>
<table width="90%" align="center" cellspacing="0" cellpadding="0"><tr><td height="4" class="divider"></td></tr></table>
<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">
<ss: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) ?]">
<ss:thirdparty:googlemap static="true" width="450">
<ss:thirdparty:googlemapmarker address="[? $locationAddress + ' ' + $locationDescription ?]" />
</ss:thirdparty:googlemap>
</a>
</div>
</ss:logic:if>
[? $locationAddress ?] <br />
[? $locationDescription ?] <br />
</td>
</tr>
</table>
</ss:logic:if>
<!-- spacing -->
<table width="90%" align="center" cellspacing="0" cellpadding="0"><tr><td height="20"></td></tr></table>
<table width="90%" align="center" cellspacing="0" cellpadding="0"><tr><td height="4" class="divider"></td></tr></table>
<table width="90%" align="center" cellspacing="0" cellpadding="0"><tr><td height="20"></td></tr></table>
<!-- Link -->
<ss:logic:if test="$reminderType == 'rsvp_reminder'">
<table align="center" cellpadding="0" cellspacing="0" width="80%">
<tr>
<td class="section" style="text-align: center; font-size: 20px">
<a href="[? 'http://' + \Components\Settings\Domains::getPrimary() + '/community/event-rsvp/?event_id=' + $arrEvent['event_id'] ?]">Click Here To RSVP</a>
</td>
</tr>
</table>

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

															

														
Content Plaintext Only:
0
0
Content Plaintext Autogenerate:
1
1
From Name:
Muzos Direct
Muzos Direct
Reads Tracked:
Links Tracked:
Links Login:
no
no
Handle Bounces:
Automation Always Send:
Design Id:
3
3