Changing The Page Visitors See After Signing Up For Notifications
Question
The page my visitors see after they join the notifications list is too plain; I'd like to have it match the look of my site. How can I change this?
Answer
Currently, this page is controlled by the underlying code, rather than by a template in the system.
If you are comfortable modifying Perl code, the text for this page is contained within lib/MT/App/NotifyList.pm.
One thing you can control without modifying the Perl files is the page users are sent to after confirming their email address. The redirect is controlled from within the notification form in this line:
<input type="hidden" name="_redirect" value="<$MTBlogURL$>" />
If you'd like to have users see a "thank you" page which you have created for this purpose, you can replace <$MTBlogURL$> with the absolute URL to that page1:
<input type="hidden" name="_redirect"»
value="http://www.example.com/thankyou.html" />
After modifying your form code, Save and Rebuild the template so that any new subscriptions will be affected by the change.
1 The » indicates line breaks added for display purposes; you should remove these breaks when using this code.


