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) »
  • Discussion »
  • Extensions (Moderators: mathieu, totten, kasiawaka) »
  • Fancy Tokens - URL included in email has domain name stripped out
Pages: [1]

Author Topic: Fancy Tokens - URL included in email has domain name stripped out  (Read 459 times)

Martin Fuggle

  • I post frequently
  • ***
  • Posts: 172
  • Karma: 3
    • Travel and Photography
  • CiviCRM version: 4.2.x, 4.3.x, 4.4.x, 4.5.x
  • CMS version: Drupal 6.x and 7.x
  • MySQL version: 5.1.36-cll
  • PHP version: 5.3.6
Fancy Tokens - URL included in email has domain name stripped out
December 15, 2014, 01:02:57 pm
I have been using the Fancy Tokens extension and included a link to a CiviCRM Profile in a bulk email. On testing the email sent to me the link performed correctly and took me to the correct profile and included the correct user data. However a number of people have emailed to say that the link does not work. It is caused by the fact that the domain name had been excluded from the link in their email. So instead of being http://example.com/civicrmxxxx it was http:///civicrmxxxx.

I have not been able to find out what might be causing this behaviour although I do have some distant memory of a module that plays with domain names but I don't remember what it was.

Cheers
Martin Fuggle


JonGold

  • Ask me questions
  • ****
  • Posts: 638
  • Karma: 81
    • Palante Technology
  • CiviCRM version: 4.1 to the latest
  • CMS version: Drupal 6-7, Wordpress 4.0+
  • PHP version: PHP 5.3-5.5
Re: Fancy Tokens - URL included in email has domain name stripped out
December 15, 2014, 01:24:52 pm
Hi Martin,

I saw this behavior recently with a stock token used in the "Personal Campaign Pages - Supporter Welcome" e-mail.  The "{$loginUrl}" showed the same problem on a Civi 4.4.7 install.

I haven't looked into it in depth yet - I was going to add a {$debug} token to see what's up.  Note that I can do that because my e-mail is a "system workflow message"; for CiviMail, you'd have to first enable the Smarty processing for CiviMail.  The site I'm working with is a multi-site using Drupal's Domain Access module; are you using any sort of multi-site?
Sign up to StackExchange and get free expert CiviCRM advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

Martin Fuggle

  • I post frequently
  • ***
  • Posts: 172
  • Karma: 3
    • Travel and Photography
  • CiviCRM version: 4.2.x, 4.3.x, 4.4.x, 4.5.x
  • CMS version: Drupal 6.x and 7.x
  • MySQL version: 5.1.36-cll
  • PHP version: 5.3.6
Re: Fancy Tokens - URL included in email has domain name stripped out
December 15, 2014, 02:04:57 pm
I am not running multi sites. I am using the latest version of Drupal and CiviCRM 4.5.2 (I am about to upgrade to 4.5.4). It seems a little odd since I received the email and it functioned just fine. Out of 222 recipients only two have reported the problem but recipients did not need to open the link unless information included in the email about them was wrong. As a result its a bit difficult to see what's going on. According to the click through summary on the email report no-one has clicked the link but that is clearly not the case since at least two people have clicked it.

There six or seven other links in the email which seem to be working just fine according to the click through summary.

Perplexed!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Discussion »
  • Extensions (Moderators: mathieu, totten, kasiawaka) »
  • Fancy Tokens - URL included in email has domain name stripped out

This forum was archived on 2017-11-26.