Original author here: I can’t seem to update the instructions on the package page or change the first post here to add in the instructions, so I’ll just post them here:
HOW TO USE:
Use this custom placeholder in your template head:
<base href="((base.href))" />
Prepend this placeholder to links that must always point to https regardless if the page the link appears on is encrypted or not:
Prepend this placeholder to links that must always point to http regardless if the page the link appears on is encrypted or not:
(Note that using these last two placeholders should only be necessary for forms that POST data to another page, eg login forms and search forms where you don’t want the page to redirect thus losing your POSTed data).
Create a TV called ’encryption’, make it a checkbox and set the input option value: Yes==1
Assign the TV to all your templates and check the checkbox for pages that will you want SSL
Create a plugin called SSL, copy ssl.txt into it and and tick the OnWebPageInit event.
(Be sure to change the $secureserver and $insecureserver values to the actual url of your server)
Now create a second plugin called SSL-PH with the code in ssl-ph.txt and check the OnWebPagePrerender event.