Movable Type User Manual: MAIL THIS ENTRY

« Table of Contents


MAIL THIS ENTRY

Movable Type ships with a mailer program that can be used to implement a simple ``mail this entry'' feature on your site. By adding a small form to the individual entry pages on your site, you can allow your visitors to email links to those pages to friends, etc.

To add this feature to your site, add the following to an archive template that you have associated with your Individual archives:

<form method="post" action="<$MTCGIPath$>mt-send-entry.cgi">
<input type="hidden" name="entry_id" value="<$MTEntryID$>" />
<input type="hidden" name="_redirect" value="<$MTEntryLink archive_type="Individual"$>" />
Email this entry to:<br />
<input name="to" size="20" /><br /><br />
Your email address:<br />
<input name="from" size="20" /><br /><br />
Message (optional):<br />
<textarea name="message" rows="5" cols="20" wrap="virtual"></textarea><br /><br />
<input type="submit" value="Send" />
</form>

Then save the template and rebuild your site.


Copyright © 2001-2003 Six Apart. All Rights Reserved.