This didn't quite work for me. Here's what I had to do to make it work (using 1.0.15):
Changed the language file (/language/english.php) as you instructed:
Code:
DEFINE('_ON_NEW_CONTENT', "Hello,\nA new content item has been submitted by [ %s ] titled [ %s ] for the section [ %s ] and category [ %s ].\nPlease go to $mosConfig_live_site/administrator/ to view and approve this article.\nPlease do not respond to this message as it is automatically generated and is for information purposes only." );
Editing /components/com_messages/messages.class.php didn't seem to work for me, so I left it alone. Instead I added the following to /component/com_content/content.php around line 2400 right after:
foreach ($users as $user_id) {
$msg = new mosMessage( $database );
$msg->send( $my->id, $user_id, "New Item", sprintf( _ON_NEW_CONTENT, $my->username, $row->title, $section, $category ) );
}
Add:
Code:
mosMail( "noreply@yourdomain.com", "Admin", "noreply@yourdomain.com", "New Item", sprintf( _ON_NEW_CONTENT, $my->username, $row->title, $section, $category ) );
Works like a charm - curious for you opinion on this! Personally I hate hacks, they make life difficult. However, my client needed a better way of controlling workflow. They have rules set on the email client that receives this email. It checks the section and category then forwards it to the correct publisher for that section. I have my fingers crossed that the next version of Joomla will have this capability built in!