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) »
  • CiviMail WYSIWYG in CiviCRM 1.9 beta - changing absolute to relative URLs?
Pages: [1]

Author Topic: CiviMail WYSIWYG in CiviCRM 1.9 beta - changing absolute to relative URLs?  (Read 5328 times)

yopyop

  • I’m new here
  • *
  • Posts: 16
  • Karma: 2
    • PDX Peace
CiviMail WYSIWYG in CiviCRM 1.9 beta - changing absolute to relative URLs?
October 23, 2007, 04:09:14 pm
Hi. I am running 1.9 Beta with Drupal 5.1, and have had sucess with sending a group of 90 contacts. But, Images in emails are not displaying. It seems that the url is being mangled, turned from a absolute URL (with domain) in the html while composing the email using the new WYSIWYG compose area to an absolute one (../../example.gif)

The code that is being written as this in the HTML:

Code: [Select]
http://www.example.org/files/u2/image.gif

get's changed to this in the WYSIWYG HTML compose area:
Code: [Select]
../../../../../../../../../files/u2/image.gif
and finally arrives in the email as:
Code: [Select]
http://../files/u2/image.gif
in the mailing. One possible solution at the moment would be to not use the WYSIWYG - perhaps html composed outside the editor would not be changed.

I haven't used the issue tracker yet, so perhaps this would be something to put into that system, if you all think this looks like a bug in 1.9.

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: CiviMail WYSIWYG in CiviCRM 1.9 beta - changing absolute to relative URLs?
October 23, 2007, 09:18:52 pm
We are using dojo editor in compose mode and this looks like a bug in dojo. We will upgrade dojo to 0.9 in CiviCRM v2.0. Hopefully it will be fixed.

kurund
Found this reply helpful? Support CiviCRM

yopyop

  • I’m new here
  • *
  • Posts: 16
  • Karma: 2
    • PDX Peace
Re: CiviMail WYSIWYG in CiviCRM 1.9 beta - changing absolute to relative URLs?
November 13, 2007, 07:20:00 pm
A follow-up on this issue:

I have found that when I have a link or an image to a subdomain or to an outside site, it works fine. It's just URLs that link to paths that include the domain that civicrm lives on - no go.

So I've made a subdomain to put images to pull from, and it works fine.

This seems to apply to headers and footers as well.

I hope this helps anyone who might be having this problem..
« Last Edit: November 14, 2007, 12:46:36 am by yopyop »

alfred_nutile

  • Ask me questions
  • ****
  • Posts: 464
  • Karma: 14
    • River Valley Tech Collective
Re: CiviMail WYSIWYG in CiviCRM 1.9 beta - changing absolute to relative URLs?
December 03, 2007, 07:38:50 pm
Has this gotten fixed yet.
The above ideas is okay but this really is a bummer.
I will see what I can do but just wondering.

tobiaseigen

  • I post frequently
  • ***
  • Posts: 151
  • Karma: 5
    • Kabissa - Space for Change in Africa
Re: CiviMail WYSIWYG in CiviCRM 1.9 beta - changing absolute to relative URLs?
March 12, 2008, 11:29:24 am
I am facing this issue as well right now with 1.9 - is there a patch for me to fix it? It's a fairly major issue and causing frustration amongst recipients.

Thanks,

Tobias
Kabissa - Space for Change in Africa http://kabissa.org

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: CiviMail WYSIWYG in CiviCRM 1.9 beta - changing absolute to relative URLs?
March 12, 2008, 11:48:07 pm
I think this is a dojo specific issue. You might want check with dojo guys for a patch. Currently we are using dojo 1.0 in CiviCRM v2.0 and it does not have any "Image" option. :(

kurund
Found this reply helpful? Support CiviCRM

tobiaseigen

  • I post frequently
  • ***
  • Posts: 151
  • Karma: 5
    • Kabissa - Space for Change in Africa
Re: CiviMail WYSIWYG in CiviCRM 1.9 beta - changing absolute to relative URLs?
March 13, 2008, 05:58:54 am
Hi Kurund,

Thanks for the reply.

For us this is a fairly major issue and effectively breaks the civimail system... is it really this hard to fix or is it not just a configuration issue on my end?

As far as I'm concerned there's no point in using civimail if we can't track opens etc and that only works with the HTML version of the email. If we can't provide links to pages on our own website it is useless to us.

Is there a way to bypass dojo and just work in HTML?

Cheers,

Tobias
Kabissa - Space for Change in Africa http://kabissa.org

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: CiviMail WYSIWYG in CiviCRM 1.9 beta - changing absolute to relative URLs?
March 13, 2008, 08:06:15 am
Tobias,

You will have manually remove editor from  CRM/Mailing/Form/Upload.php and templates/CRM/Mailing/Form/Upload.tpl .

kurund
Found this reply helpful? Support CiviCRM

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: CiviMail WYSIWYG in CiviCRM 1.9 beta - changing absolute to relative URLs?
March 13, 2008, 10:33:03 am

You can also just compose the html offline and upload the html and text using the "upload file" feature. i.e. this bypasses dojo editor completely :)

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

dharmatech

  • I post frequently
  • ***
  • Posts: 280
  • Karma: 53
    • dharmatech.org
Re: CiviMail WYSIWYG in CiviCRM 1.9 beta - changing absolute to relative URLs?
July 25, 2008, 09:39:07 am
Dojo can be replaced w/FCKEditor in 1.9 and 2.0.  It's not working 100% yet, but it's close.

http://forum.civicrm.org/index.php/topic,3134.0.html
http://issues.civicrm.org/jira/browse/CRM-3002
http://dharmatech.org
oss@dharmatech.org
801.541.8671

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • CiviMail WYSIWYG in CiviCRM 1.9 beta - changing absolute to relative URLs?

This forum was archived on 2017-11-26.