Download & Extend

File download emails need newlines

Project:Ubercart
Version:5.x-1.0-beta2
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

The email sent when a user has file downloads available does not have any newlines. This is easily corrected by adding some \n\n to the $messages['uc_file_download_message'] setting in uc_file_uc_message(). I might also suggest that this would be useful as a theme function so that it can be more easily changed.

Comments

#1

Status:active» closed (fixed)

The value $messages['uc_file_download_message'] already contains \n\n to insert line breaks. Perhaps the select input format on your notification settings aren't set to interpret new lines as <br/> in your installation? As far as theming goes, users can change the input format and text on the notification settings page (admin/store/settings/notify/edit/file) and theme the file downloads token with theme_uc_file_downloads_token, thus no more theme functions are necessary

#2

Great, thanks for the feedback. I didn't know about those settings :)