This is a discussion on Newsletter Products within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; While preparing to modify the newsletter products module to work with the MSRP contribution I noticed that the SQL queries ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| ||||
| ||||
| 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...
__________________ Michael Sasek osCMax Developer
|
| Sponsored Links | ||
| ||
| |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Newsletter Products | michael_s | New osCommerce Contributions | 0 | 04-01-2008 02:22 AM |
| Newsletter Products | michael_s | New osCommerce Contributions | 0 | 02-12-2008 06:01 AM |
| Newsletter Products | michael_s | New osCommerce Contributions | 0 | 09-06-2007 10:25 AM |
| Newsletter Products | michael_s | New osCommerce Contributions | 0 | 05-22-2007 04:41 PM |
| Newsletter Products | michael_s | New osCommerce Contributions | 0 | 05-20-2007 03:02 PM |