Software Info - Upgrade Appendix v3.2

Below are the template changes in v3.2. You will need to deploy the changes manually if you made template changes and are using a different theme. Note that the details will reference data in the original theme, so you'll need to find the corresponding information in your own templates. Language files should be copied to all language folders and template files to all themes.

New files should be added to your setup from the latest download zip file and where it states to update something, you should refer to the corresponding file in the zip file.
New Files / Folders
content/language/english/admin/apages.php
content/language/english/admin/poems.php
content/language/english/admin/pickup.php
content/language/english/admin/uploads.php
content/language/english/3.2.php
content/*theme*/html/captcha.htm
content/*theme*/html/security.htm
content/*theme*/html/ecards/confirm-dialog.htm (replace)
content/*theme*/html/ecards/ecard-poem-option.htm
content/*theme*/html/ecards/ecard-upload-info.htm
content/*theme*/html/ecards/ecard-upload-info-clear.htm
content/*theme*/fonts/Comfortaa-Light.ttf
content/*theme*/fonts/oswald-cyrillic-400.woff2
content/*theme*/fonts/oswald-cyrillic-ext-400.woff2
content/*theme*/fonts/oswald-latin-400.woff2
content/*theme*/fonts/oswald-latin-ext-400.woff2
content/*theme*/fonts/oswald-vietnamese-400.woff2
content/*theme*/images/placeholder.png
content/*theme*/ecard-poem.tpl.php
content/*theme*/ecard-upload.tpl.php
content/*theme*/privacy-policy.tpl.php
content/emojis/*
content/uploads (must be writeable)
content/*theme*/html/social/social-meta-google.htm (obsolete, can be deleted)
Stylesheets (CSS)
Note: If the msw.css file doesn't exist, add code to the 'theme.css' file or your main stylesheet.
1 Add the following to 'content/*theme*/css/msw.css':

.msw-box-spinner-left {
  background: #fff url(../images/animated/spin-small.gif) no-repeat 2% 50% !important;
}
.msw-box-spinner-right {
  background: #fff url(../images/animated/spin-small.gif) no-repeat 95% 50% !important;
}
.capimg img {
  cursor:pointer;
  margin-bottom:10px;
  border:1px dashed #ccc;
  padding:1px;
}
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
}
.video-container iframe, .video-container object, .video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border:0 !important;
}
Javascript (JS)
1 Replace the following files:

content/*theme*/js/functions.js
content/*theme*/js/ops.js
If you added any custom functions, these should be copied back to these files.
Template Files
1 Open the following files:

'content/*theme*/html/ecards/ecard-recently-sent.htm
content/*theme*/html/ecards/ecard-popular-link.htm
content/*theme*/html/ecards/ecard-recently-viewed.htm
content/*theme*/html/footer-latest-ecards.htm' files:

After
<a href="{url}" title="{title}">{text}</a>
Add
<div class="stats">{stats}</div>
2 Open the 'content/*theme*/footer.tpl.php' file and add the following before the closing body tag:

<?php
echo $this->SEC_TOKEN;
?>
3 Open the following files:

content/*theme*/ecard-pickup.tpl.php
content/*theme*/ecard-compose.tpl.php
content/*theme*/footer.tpl.php

Add in the captcha option (refer to new files)

<?php
echo $this->CAPTCHA;
?>
4 Update the following files for multiple recipient & poems (where applicable). Refer to the latest version files:

content/*theme*/ecard-compose.tpl.php (Multiple Recipients, Poems)
content/*theme*/ecard-preview.tpl.php (Poems)
content/*theme*/ecard-view.tpl.php (Poems)
Language (Update for all language folders)
1 Open the 'content/language/english/ecard.php' language file and update the following:

$msw_send_ops4
$msw_send_ops5
2 Update the following email template file:

content/language/english/email-templates/ecard-usage-notification.txt
IMPORTANT Code Changes
1 If you have added custom ops, you should update this for multiple recipients:

control/system/modules/ecard-ops/custom.php
Something Missing?
Was a template update not shown here that caused something to break? Please let us know, thank you.
Back to Appendix
Back to Upgrades