While preparing to modify the newsletter products module to work with the MSRP contribution I noticed that the SQL queries failed to cast certain variables as integers as is safe programming practice. I also noticed that the images inserted into the newsletter did not have the size set which will cause problems with the newsletter layout when your products have large images. Also the link function used in the language file for the unsubscribe link was incorrect.
This update corrects the SQL queries, updates the text for unsubscribe with the correct link for accounts_newsletters.php, and passes the SMALL_IMAGE width and height to the tep_image function so that the images in the newsletter will display at a reasonable size. Complete package is attached but only the two newsletter_products.php files have changed since version 2.25.
More...




LinkBack URL
About LinkBacks









Bookmarks