CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Links in mailings getting corrupted
Pages: [1]

Author Topic: Links in mailings getting corrupted  (Read 1270 times)

ChrisStanleyCCTV

  • Guest
Links in mailings getting corrupted
March 30, 2009, 10:02:51 am
We've had CiviMail working well for some time now, but recently we've started having some problems.  Intermittently, some or all of the links in the mailings come out wrong.  For example, a couple of times the links have come out looking something like "../../../../../../link_path" and most recently we have some that look like "http:// http://www.site.org".  So far I haven't been able to duplicate the problem on demand, so it's been hard to pin down.

Any thoughts?

P.S.  We're also having this other CiviMail problem, which doesn't immediately seem related but you never know.
« Last Edit: March 30, 2009, 10:07:04 am by ChrisStanleyCCTV »

Dennis Gray

  • Ask me questions
  • ****
  • Posts: 472
  • Karma: 1
  • CiviCRM version: Various. See post.
  • CMS version: Drupal, Wordpress and Joomla. See post.
  • MySQL version: TBA
  • PHP version: TBA
Re: Links in mailings getting corrupted
March 30, 2009, 12:23:55 pm
Are you using UAS to process your mail? We are having problems too of late but I have not finished documenting them.

ChrisStanleyCCTV

  • Guest
Re: Links in mailings getting corrupted
April 07, 2009, 10:29:10 am
Quote from: Ozyank on March 30, 2009, 12:23:55 pm
Are you using UAS to process your mail? We are having problems too of late but I have not finished documenting them.

I'm afraid I'm not our usual Civi expert (who is in Africa at the moment), so I don't actually know what UAS is.  But if you could give me a pointer, I could figure out if we're using it or not.

Thanks!

jrkelley32

  • I post occasionally
  • **
  • Posts: 44
  • Karma: 0
Re: Links in mailings getting corrupted
May 18, 2009, 12:55:56 pm
This could be a WYSIWYG issue.  If you are using TinyMCE, try changing the startup settings to include:
    relative_urls : false,
    remove_script_host : false,

in /administrator/components/com_civicrm/civicrm/packages/HTML/QuickForm/tinymce.php in the tinyMCE.init call.



excell@drupal.org

  • Guest
Re: Links in mailings getting corrupted
June 30, 2009, 01:48:47 am
I was having the problem of URL links changing to ../.../folder and not allowing Absolute links...
So I changed the /civicrm/packages/HTML/QuickForm/tinymce.php to include:
    relative_urls : false,
    remove_script_host : false,

as per: http://issues.civicrm.org/jira/browse/CRM-4666

Now, I have a problem with including the compulsory OptOUT tokens as links with "Click here to optout" etc. They are being interpreted as
http://www.domain.com/http://www.domain.com....

I suppose I could include them just as is, but they look ugly and I want to put them with custom text links...

any further ideas?

« Last Edit: June 30, 2009, 02:16:10 am by excell@drupal.org »

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Links in mailings getting corrupted

This forum was archived on 2017-11-26.