For the benefit of others looking to do this, I sorted this out by modifying some code in index.php.
Firstly I found this:
- Code: Select all
case "subscribe":
$success = require "admin/subscribelib2.php";
if ($success != 2) {
print SubscribePage($id);
}
break;
and changed to this:
- Code: Select all
case "subscribe":
$success = require "admin/subscribelib2.php";
//Changed this to remove ability to subscribe from the web page
print "<p>Sorry. You cannot subscribe to these newsletters through this web site.</p>";
/* if ($success != 2) {
print SubscribePage($id);
} */
break;
Then for unsubscribe, I found this:
- Code: Select all
case "unsubscribe":
print UnsubscribePage($id);
break;
and changed to this:
- Code: Select all
case "unsubscribe":
// Change this to an email link to subscriptions department
print "To unsubscribe from Newsletters, <a>contact Subscriptions</a>.";
// print UnsubscribePage($id);
break;
It aint pretty, and there are possibly quite easy ways to circumvent it, but it works. I hope this helps - any suggestions for improvement welcome.
Phil