gazb Posted July 18, 2004 Posted July 18, 2004 If you regularly send emails to customers and the subject and text is the same all the time, then instead of typing it in each time or copying and pasting, you can have the Send Email boxes pre-filled with the standard text you use: Open admin/includes/languages/english/mail.php and add at the bottom: define('CONTENT_SUBJECT', 'Email Subject'); define('CONTENT_MESSAGE', 'This is the message I want to email'); Open admin/mail.php and find: <tr> <td class="main"><?php echo TEXT_SUBJECT; ?></td> <td><?php echo tep_draw_input_field('subject'); ?></td> </tr> Change to: <tr> <td class="main"><?php echo TEXT_SUBJECT; ?></td> <td><?php echo tep_draw_input_field('subject', CONTENT_SUBJECT); ?></td> </tr> Find: <tr> <td valign="top" class="main"><?php echo TEXT_MESSAGE; ?></td> <td><?php echo tep_draw_textarea_field('message', 'soft', '60', '15'); ?></td> </tr> Change to: <tr> <td valign="top" class="main"><?php echo TEXT_MESSAGE; ?></td> <td><?php echo tep_draw_textarea_field('message', 'soft', '60', '15', CONTENT_MESSAGE); ?></td> </tr> :P
Recommended Posts
Archived
This topic is now archived and is closed to further replies.