Re: Enhanced email notification Hardly a complete answer but I have found that the following changes add a bit of usefull info to the message which gets emailed when new content is submitted.
Edit /components/com_messages/messages.class.php
Changing the following lines:
48 global $mosConfig_site_name;
77 $subject = "A new private message has arrived";
78 $msg = "A new private message has arrived";
79 $headers .= "From: $mosConfig_site_name\r\n";
to read:
48 global $mosConfig_sitename;
77 $subject = "New content has been submitted to the $mosConfig_sitename";
78 $msg = "$message";
79 $headers .= "From: $mosConfig_sitename\r\n";
My PHP knowledge is pretty limited and I haven't yet figured out how to get it any better. It would be nice to be able to include the name of the section in the subject line and some of the text of the submission in the body. Any ideas? |