cabazon Posted April 4, 2005 Posted April 4, 2005 Hi and thanks for the time to help. In the News Letter Manager I would like to have colums and rows for a pricing grid but osCommerce reformatts the text into lines and I loose the look and order I need. Q, How do I keek the format exactly as I either type it in or cut and paste it in? Thanks for your help! :thumbsup:
OceanRanch Posted April 4, 2005 Posted April 4, 2005 I'd create your newsletter in HTML and apply the following patch to allow sending the newsletter in HTML format. In admin/includes/modules/newsletters/newsletter.php around line 63 $mimemessage->add_text($this->content); change it to $mimemessage->add_html($this->content); Then just use simple tables for your pricing grid. Have fun. HTH Tom
cabazon Posted April 6, 2005 Author Posted April 6, 2005 I'd create your newsletter in HTML and apply the following patch to allow sending the newsletter in HTML format. In admin/includes/modules/newsletters/newsletter.php around line 63 $mimemessage->add_text($this->content); change it to $mimemessage->add_html($this->content); Then just use simple tables for your pricing grid. Have fun. HTH Tom <{POST_SNAPBACK}>
cabazon Posted April 6, 2005 Author Posted April 6, 2005 Thanks for your time Tom :thumbsup: Making a table would take so many hours as there are hundreds of products to list and in columns with a price at the top. I was able to find line 63 or so and I am amazed that you know the code so well as to direct me to that place to make that change. Thanks for sharing your knowledge!. But, even after I made your recomended change, and after I copy from note pad or word pad then paste into the newsletter text box, I still loose the formatting. Then I did make a table and it did work but it would take me about 8 hours to make the table and enter in all the data. :'( There must be a better way. Why is the text editor so unfriendly in osCommerce? Is there going to be a team working on that in the near future? Anyhow I am starting to rant a little so I'll just say good night now. :blush: Thanks for the time, Tom et el :thumbsup: <{POST_SNAPBACK}>
Jeremy at oddly enough Posted April 6, 2005 Posted April 6, 2005 Call me crazy, but if I signed up for a newsletter, I wouldn't expect a dump of your catalog into my inbox! I want something interesting, and hopefully relevant to me, something special! Jeremy
OceanRanch Posted April 6, 2005 Posted April 6, 2005 I agree with Jeremy, hundreds of products listed in a Newsletter is a bit overkill. A few featured products and a link back to the site is much cleaner.... The change I recommended puts everything into HTML. If you copy/paste straight text into the newsletter in HTML mode you will loose any non-HTML (i.e. newlines, carriage returns etc.) formatting and everything will run together. Use some simple HTML tags surrounding your text and you'll be fine. The simplest one is <pre> and </pre>. Any text entered between thes tags will keeps its formatting including spaces and newlines etc. <p> - new paragraph <br> - line break A quick reference is here http://www.w3schools.com/html/html_reference.asp HTH Tom
Recommended Posts
Archived
This topic is now archived and is closed to further replies.