Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: Campaign yet again rewriting URLs

  1. #1
    ElgertS is offline Sugar Community Member
    Join Date
    Dec 1969
    Posts
    92

    Default Campaign yet again rewriting URLs

    This happened in a recent version of 5.0 and now is back with 5.2. It doesn't always happen, but almost always. The URLs within a message I paste into an email template to send out with a campaign once saved are changed to the SugarCRM install. For instance:

    http://www.sollos.com/article.html

    is transformed to:

    http://sales.sollos.com/article.html

    If I try it a second time, it may work correctly, but mostly it rewrites them. Often I just go into the HTML and fix it by hand. It is easier with images as then at least the image doesn't load when you check the template, but URLs can be harder to identify.

    Happens on at least two installs of 5.2 I have done.
    Last edited by ElgertS; 2009-01-25 at 03:00 PM. Reason: adjusting sentences and noting two installs show issue.

  2. #2
    ronherman is offline Member
    Join Date
    Jan 2006
    Location
    Venice, CA USA
    Posts
    7

    Default Re: Campaign yet again rewriting URLs

    Quote Originally Posted by ElgertS View Post
    This happened in a recent version of 5.0 and now is back with 5.2. It doesn't always happen, but almost always. The URLs within a message I paste into an email template to send out with a campaign once saved are changed to the SugarCRM install. For instance:

    http://www.sollos.com/article.html

    is transformed to:

    http://sales.sollos.com/article.html

    If I try it a second time, it may work correctly, but mostly it rewrites them. Often I just go into the HTML and fix it by hand. It is easier with images as then at least the image doesn't load when you check the template, but URLs can be harder to identify.

    Happens on at least two installs of 5.2 I have done.
    I am seeing similar problems and my imgaes are not displaying

  3. #3
    kbrill's Avatar
    kbrill is offline SugarCRM PS Engineer
    Join Date
    Jul 2004
    Location
    St Louis, MO
    Posts
    3,183

    Default Re: Campaign yet again rewriting URLs

    Have you looked at your site_url in the config.php file. It HAS to match the URL that you use to log into SugarCRM. If you are logging into SugarCRM as http://www.sollos.com but your config.php has http://sales.sollos.com in it, that would explain what you are seeing maybe.
    Kenneth Brill - Help Forum Moderator

    I do not respond to 'Private Messages'. Please email me directly instead

    When asking for help, PLEASE give us your Server Information and Version Numbers as asked for on the 'Post New Message' screen as well as any JavaScript errors shown at the bottom of the browser window.
    Help us Help You

  4. #4
    ElgertS is offline Sugar Community Member
    Join Date
    Dec 1969
    Posts
    92

    Default Re: Campaign yet again rewriting URLs

    This is actually a setting in TinyMCE that has to be turned off to avoid this problem. Each upgrade of SugarCRM you have to turn the function off again.

  5. #5
    kbrill's Avatar
    kbrill is offline SugarCRM PS Engineer
    Join Date
    Jul 2004
    Location
    St Louis, MO
    Posts
    3,183

    Default Re: Campaign yet again rewriting URLs

    Quote Originally Posted by ElgertS View Post
    This is actually a setting in TinyMCE that has to be turned off to avoid this problem. Each upgrade of SugarCRM you have to turn the function off again.
    What setting?
    Kenneth Brill - Help Forum Moderator

    I do not respond to 'Private Messages'. Please email me directly instead

    When asking for help, PLEASE give us your Server Information and Version Numbers as asked for on the 'Post New Message' screen as well as any JavaScript errors shown at the bottom of the browser window.
    Help us Help You

  6. #6
    ElgertS is offline Sugar Community Member
    Join Date
    Dec 1969
    Posts
    92

    Default Re: Campaign yet again rewriting URLs

    Open the file, include\javascript\tiny_mce\tiny_mce.js in sugarcrm.

    Change,

    this._def("convert_urls", true);

    into

    this._def("convert_urls", false);

  7. #7
    ronherman is offline Member
    Join Date
    Jan 2006
    Location
    Venice, CA USA
    Posts
    7

    Default Re: Campaign yet again rewriting URLs

    This did not solve my problem - all the image attachments do not show after mailing from the Campaign - If I mail the template directly the images are attached

  8. #8
    ElgertS is offline Sugar Community Member
    Join Date
    Dec 1969
    Posts
    92

    Default Re: Campaign yet again rewriting URLs

    What is the code it has for the images? How did it rewrite their URLs?

  9. #9
    ronherman is offline Member
    Join Date
    Jan 2006
    Location
    Venice, CA USA
    Posts
    7

    Default Re: Campaign yet again rewriting URLs

    This is what it looks like;
    <img src="/sugar/cid:BlueChipLogo.gif" alt="" width="191" height="75"

    notice the cid:

  10. #10
    ElgertS is offline Sugar Community Member
    Join Date
    Dec 1969
    Posts
    92

    Default Re: Campaign yet again rewriting URLs

    What should the URL look like to be correct? This is a relative url, is that what it should be?

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Tracking URLs for a non-email campaign
    By efallon in forum Marketing/Campaign Management
    Replies: 0
    Last Post: 2008-10-27, 03:10 PM
  2. Replies: 3
    Last Post: 2008-08-26, 04:03 PM
  3. Rewriting Sugar URLs
    By signaljim in forum Developer Help
    Replies: 2
    Last Post: 2006-04-14, 12:03 AM
  4. Linking URLs
    By Ericmuc in forum Feature Requests
    Replies: 0
    Last Post: 2005-11-24, 11:10 AM
  5. Tab with relating URLs
    By Ericmuc in forum Feature Requests
    Replies: 0
    Last Post: 2005-11-17, 03:25 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •