• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Domains stripped from link URLs in user emails

Domains stripped from link URLs in user emails 10 years 5 months ago #29309

  • rocher
  • rocher's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
Hi, This seems a very simple query, I Googled for it and checked the FAQs, but can't find an answer.

When a user submits a Membership Application on this Dog Club website, a confirmation message is displayed and emailed sent to the user entered email address:

www.easternsuburbsdogtraining.org.au/for...ation-for-membership

The confirmation email instructs the user to print out an attached PDF copy of the Membership Application and offers a link back to the Dog Club to display a list of registration dates:

"Please print out and sign the attached PDF copy of the form and bring it with you on your Registration Sunday - click here for a list of Adult Dog and Puppy Registration Dates and Times."

The PDF copy is working fine, but I cannot get the link to work using the JCE editor link function or entering it as straight HTML - the domain is stripped, so instead of www.easternsuburbsdogtraining.org.au/Training-Dates/

... it ends up as: http://training-dates/

... and this obviously doesn't resolve.

I have tried your suggested:

//<code>
$url = RSFormProHelper::getURL();
return $url;
//</code>

But that returns: www.easternsuburbsdogtraining.org.au/for...ation-for-membership

As I said, it seems like such a simple requirement, I can't believe it's so difficult to fix! Hopefully you can point me in the right direction.

Regards,
Robert
The administrator has disabled public write access.

Domains stripped from link URLs in user emails 10 years 5 months ago #29310

  • cosmin.cristea
  • cosmin.cristea's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 756
  • Thank you received: 144
Have you tried inserting the URL without using the JCE editor? I simply pasted http://www.easternsuburbsdogtraining.org.au/Training-Dates in the PDF's layout and it works as intended.

Try and let me know
My help is not official customer support. To receive your support, submit a ticket by clicking here
The administrator has disabled public write access.
The following user(s) said Thank You: rocher

Domains stripped from link URLs in user emails 10 years 5 months ago #29316

  • rocher
  • rocher's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
Hi, Thanks for getting back to me so quickly. I don't want the URL in the PDF, I want it in the email, which has the PDF attached to it.

That said, I have tried 3 methods for including it in the email:

1) By selecting the Training-Dates page from the JCE editor's link icon/option
2) By entering the link via HTML in the editor as fully qualified "a href=" link
3) By pasting the full URL into the email message, eg: www.easternsuburbsdogtraining.org.au/Training-Dates/

In all cases, the domain part (www.easternsuburbsdogtraining.org.au/) is stripped from the link, leaving only the Training-Dates/ part which cannot be resolved.

I'm at a loss to know what's going on. :blink:
The administrator has disabled public write access.

Domains stripped from link URLs in user emails 10 years 5 months ago #29317

  • rocher
  • rocher's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
Bing! I've got an acceptable workaround. I created a hidden field called trainingdatesURL, with the default value: www.easternsuburbsdogtraining.org.au/Training-Dates/

I then added the following field to the email: {trainingdatesURL:value}

This then displays the full URL as a clickable link in the email. While I would have preferred a more meaningful "Click here for training dates" link, I can live with this workaround.

I hope it helps anyone else with a similar problem.

Regards,
Robert B)
The administrator has disabled public write access.

Domains stripped from link URLs in user emails 8 years 2 months ago #36424

  • crodzen
  • crodzen's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 1
Unfortunately, this seems to still be a problem 3 years later, but only if the domain pointed to is the same as the one where the form is hosted.

The work-around that I found is to edit the email text in code view (using JCE Editor), and Save and Close while still in code view. When switching back to WYSIWYG view, the domain is stripped.
The administrator has disabled public write access.

Domains stripped from link URLs in user emails 7 years 3 months ago #37774

  • boss3
  • boss3's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
crodzen wrote:
Unfortunately, this seems to still be a problem 3 years later, but only if the domain pointed to is the same as the one where the form is hosted.

The work-around that I found is to edit the email text in code view (using JCE Editor), and Save and Close while still in code view. When switching back to WYSIWYG view, the domain is stripped.

Another year, several updates provided and no fix? Anyone at RS Joomla! care to comment?
The administrator has disabled public write access.

Domains stripped from link URLs in user emails 7 years 3 months ago #37775

  • octavian
  • octavian's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 783
  • Thank you received: 110
That's because there's nothing to fix from RSForm! Pro - your editor (JCE) is stripping the URL. See here:
www.joomlacontenteditor.net/support/foru...in-url-in-img-source

Basically you need to set "Relative URLs" to "No" in your editor to prevent this from happening.
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
The administrator has disabled public write access.
The following user(s) said Thank You: boss3

Domains stripped from link URLs in user emails 7 years 3 months ago #37776

  • boss3
  • boss3's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
octavian wrote:
That's because there's nothing to fix from RSForm! Pro - your editor (JCE) is stripping the URL. See here:
www.joomlacontenteditor.net/support/foru...in-url-in-img-source

Basically you need to set "Relative URLs" to "No" in your editor to prevent this from happening.

That's great Support Octavian, I'm sure you've lowered significantly the 'potential frustration levels' of people like me! Cheers!
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!