Post by mckbgrd » Wed Sep 04, 2013 10:38 pm

Thank you! It helps me to send e-mails! But after testing, I received an e-mail where the message begins with "n n n n n" and ended with "nn". How can I solve this?

New member

Posts

Joined
Sun Nov 27, 2011 1:27 am


Post by butte » Thu Sep 05, 2013 9:00 am

The linefeeds/carriage-returns need to be escaped properly.

Guru Member

Posts

Joined
Wed Mar 20, 2013 6:58 am

Post by mckbgrd » Thu Sep 05, 2013 3:16 pm

Sorry, I don't get you. Can you explain it a little more? Thank you.

New member

Posts

Joined
Sun Nov 27, 2011 1:27 am


Post by butte » Thu Sep 05, 2013 10:52 pm

Which version? That may affect approaches to take. Apparently you have 1.5.5.1 or subsequent, but we cannot tell from what you've said [just double-checked -- your first entry in thread starts this page of thread]. You have the apparent novelty of the "n" itself showing several times.

Try first replacing the ckeditor tree with the 2013 July 4.1.x (not 4.2.x) version straight from ckeditor.com/download/. That is your /admin/view/javascript/ckeditor/ tree.

If the problem remains, then the simplicity of changing only the 18 [in some file versions, 20] instances of "\r\n" to "\n" in the 1.5.5.1 filemanager.tpl may suffice. Make a backup of the file beforehand.

Please let us know where you wind up with that. There are two further approaches, but I would start with those.

Guru Member

Posts

Joined
Wed Mar 20, 2013 6:58 am

Post by mckbgrd » Sat Sep 07, 2013 4:53 pm

Thank you for your help. I followed the two options you said, but unfortunately the problem still remains. What can I do more?

New member

Posts

Joined
Sun Nov 27, 2011 1:27 am


Guru Member

Posts

Joined
Wed Mar 20, 2013 6:58 am

Post by gsc1ugs » Sat Sep 21, 2013 5:16 pm

While on this email subject, how do I get the mail option to send html emails?

Active Member

Posts

Joined
Mon Sep 09, 2013 3:32 pm

Post by butte » Sat Sep 21, 2013 11:02 pm

If you use the normal box (if you don't disable "wysiwyg" outright), it'll prepare html format. Whether recipients allow that to come in or to show is beyond your control. I'm scarcely alone in prohibiting html mail -- or in routinely looking at full headers to see where the system was even entered. In some mailboxes I block html outright; text mail arrives, html mail goes poof.

Guru Member

Posts

Joined
Wed Mar 20, 2013 6:58 am

Post by gsc1ugs » Tue Sep 24, 2013 4:28 pm

where do I disable "wysiwyg"

Active Member

Posts

Joined
Mon Sep 09, 2013 3:32 pm

Post by butte » Tue Sep 24, 2013 10:03 pm

In the .js controlling it. You can also set Source mode as its default -- text only if no code with it.

Guru Member

Posts

Joined
Wed Mar 20, 2013 6:58 am

Post by gsc1ugs » Wed Sep 25, 2013 6:23 pm

Mail.php don't seem to have any .js controlling it.. why does it give the option SOURCE html but doesn't send it

Active Member

Posts

Joined
Mon Sep 09, 2013 3:32 pm

Post by butte » Wed Sep 25, 2013 9:42 pm

That part of it is driven by ckeditor, and if you look in the ckeditor/ tree you will see oodles of .js just for that. Note /admin/view/javascript/ckeditor/config.js in particular.

Guru Member

Posts

Joined
Wed Mar 20, 2013 6:58 am

Post by gsc1ugs » Thu Sep 26, 2013 4:51 pm

Well, since all this, I tried simple html emails and they work? I think .CSS scripting was the problem and javascripts, have to stick to simple html and links that seem to work on 1.5.4

Active Member

Posts

Joined
Mon Sep 09, 2013 3:32 pm

Post by butte » Thu Sep 26, 2013 9:15 pm

You may have toggled Source mode and not known it -- or your own mail client was set at the right time to see text or simple html, or both.

Guru Member

Posts

Joined
Wed Mar 20, 2013 6:58 am

Post by butte » Thu Oct 10, 2013 2:17 am

Status note.-- Going to test whether 1.5.5.1 CE RC1 files *for* mailing are compatible inside 1.5.5.1 and 1.5.6.0, if they are then there we go, end of problem. (Since you're there, rph, congratulations, and thanks from all!)

Guru Member

Posts

Joined
Wed Mar 20, 2013 6:58 am

Post by davski13 » Thu Oct 17, 2013 6:36 pm

The vqmod fix doesn't work in version 1.5.2.1...
:(

Newbie

Posts

Joined
Tue Sep 11, 2012 12:03 am

Post by mr.bacan » Sun Nov 10, 2013 1:50 am

byocode wrote:You can try this:
1. Open file "contact.tpl" in the "admin\view\template\sale" folder
2. Go to line 244, you'll see the line:

Code: Select all

$('textarea[name=\'message\']').html($('textarea[name=\'message\']').val());
and replace with:

Code: Select all

$('textarea[name=\'message\']').html(CKEDITOR.instances.message.getData());
3. Save the file and test.
That worked beautifully on version 1.5.5.1.
Thanks so much for this fix. 8)

Newbie

Posts

Joined
Sun Nov 10, 2013 1:35 am

Post by paulfeakins » Sat Nov 23, 2013 1:59 am

This still seems to be a problem in 1.5.6 but fix from byocode works perfectly.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Guru Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by rockonrahul » Wed Nov 27, 2013 1:59 pm

thanks byocode you got the solution..
there is also a VQMOD extenesion to solve the issue with the same changes
http://www.opencart.com/index.php?route ... n_id=10802

Newbie

Posts

Joined
Sun Oct 20, 2013 7:20 pm

Post by werepair » Tue Dec 03, 2013 6:25 pm

VQMod works great in 1.5.5.1....Cheers for the info :)

User avatar
Active Member

Posts

Joined
Sat May 28, 2011 2:54 pm
Location - United Kingdom
Who is online

Users browsing this forum: No registered users and 301 guests