Help - Search - Members - Calendar
Full Version: can I edit the notification email?
Movable Type Community Forum > Additional Resources > Tips and Tricks
dzacharias
that would be cool. anybody know where that is?
arvind
You will need to edit the new-comment.tmpl file found in tmpl/email
dzacharias
thanks a, but i guess i meant the email that gets sent from the "Send a Notification" section of a new entry. i am using the entry fields for different things so the email doesn't really work for the blog i want to use it for.

in the tmpl/email folder there is only new-comment and verify-subscribe.

thanks!
Brian the Red
QUOTE (arvind_2100 @ Jan 14 2005, 03:21 AM)
You will need to edit the new-comment.tmpl file found in tmpl/email

At least in 3.121, new-comment.tmpl is not where you can change the signature that appears in the bottom of the MT generated emails.

You have to edit lib/MT.pm
(caution: this is a main component of the software)

Starting at Line 31:
CODE
sub version_slug {
   return <<SLUG;
Powered by Movable Type
Version $VERSION
http://www.movabletype.org/
SLUG
}


I changed it to something relating to my weblog:
CODE
sub version_slug {
   return <<SLUG;
The Life of Brian
No apologies to Monty Python,
as I had the name and life first.
http://www.mr-miata.com/
SLUG
}


Plain text probably would be best as you are in the middle of code. The http line gets encoded into a clickable link.
shelley
Please note the following in the license terms:

QUOTE
You may not:

    * Distribute derivative works based on the Software (the distribution of plug-ins and other add-ons to the product written using APIs and other programmatic interfaces published by Six Apart are allowed);
    * Reproduce the Software except as described in this Agreement;
    * Sell, assign, license, disclose, distribute, or otherwise transfer or make available the Software, in whole or in part, or any copies of the Software in any form to any third parties;
    * Use the Software to provide hosting services to others or to provide any type of service bureau service; or
    * Remove or alter any proprietary notices on the Software.


So I'd recommend some caution here. wink.gif
Brian the Red
I'm no lawyer, but I assumed by proprietary notices they were refering to:
QUOTE
# Copyright 2001-2004 Six Apart. This code cannot be redistributed without
# permission from www.movabletype.org.

that appears on the tops of their files....
bhw
I'm using MT 3.15.

I would like to edit the notification e-mail header, not just the body. In particular, I want to edit the the subject line -- it's very wordy as it is. Plus, I don't have multiple blogs, so I don't need my blog name in the subject.

I'd like the subject line to go something like this:

[Title of entry] - Comment by [commenter's name]

I was able to edit one of the programmy files on version 2.64 (maybe comments.pm?), but it was a loooong time ago and I had a lot of help (someone told me exactly what to edit).

Can anyone help?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.