Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

TinyMCE problem with Newsletters


Recommended Posts

I've had TinyMCE installed for ages as my HTML editor in osCommerce. I'm now trying to set up a newsletter but every link that I put into the newsletter gets converted into a relative one instead, even if I edit the html.

 

For example:

 

I create a link in my newsletter to http://www.mydomain.com/images/newsletter_header.jpg

 

but when I save the newsletter or edit it again, the link now points to ../images/newsletter_header.jpg

 

This is really frustrating as it means any links I put in the newsletter will be meaningless to the receipient.

 

Any ideas or suggestions would be gratefully received!

 

Regards

Andrew

Link to comment
Share on other sites

I've fixed it. The settings for TinyMCE are in a Javascript section at the header of the page. I just added the following to admin/newsletter.php amongst the settings:

 

convert_urls : false

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...