URL's in Email Templates Change Automatically

More
7 years 6 months ago #105104 by Bryan
I am having an issue with the email templates. I have everything working properly except for one very annoying problem...

1. I have a menu item for membership renewals that is "/membership-renewal". It works properly.
2. In my "reminder" emails I have put a link directly to the above menu item so that the user can easily renew right there.
3. The link in the email is websitename.com/membership-renewal
4. The email with URL is formatted as:

ABDA Membership Renewal
websitename.com/membership-renewal

HOWEVER, when I actually make the above URL into a link (using any editor or via code - I tried), it automatically changes it to JUST the menu item alias "membership-renewal' by removing everything before it ( websitename.com/ ). This completely breaks the link and it is happening with all website URL's in all email templates. No matter what I do, it will not allow me to have a link including the preceding websitename.com/ etc.

What am I missing?

Please Log in or Create an account to join the conversation.

More
7 years 6 months ago - 7 years 6 months ago #105105 by Stephen
Replied by Stephen on topic URL's in Email Templates Change Automatically
Hi Bryan
My guess is that you use the JCE editor. If so do like this:

In backend go to Components -> JCE Editor -> Profiles
Probably you are using the default profile so click on that.
Click the tab "Editot Parameters" and set the Relative URL's to "No"

Hope this help

Regards
Stephen

If the problem can be solved why worry? If the problem can not be solved, worrying will do you no good.
Attachments:
Last edit: 7 years 6 months ago by Stephen.
The following user(s) said Thank You: Tuan Pham Ngoc, Bryan

Please Log in or Create an account to join the conversation.

More
7 years 6 months ago #105106 by Bryan
Oh, YOU rock! That has been driving me insane. The most interesting part is that even when I switched editors, it still relied on that setting. Anyway, THANK YOU again!

Please Log in or Create an account to join the conversation.

More
7 years 6 months ago #105113 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic URL's in Email Templates Change Automatically
Thanks for helping Stephen. Very happy to see people helping each others on forum like this :)

Tuan

Please Log in or Create an account to join the conversation.

More
7 years 6 months ago #105123 by Stephen
Replied by Stephen on topic URL's in Email Templates Change Automatically
Hi
I’m happy that it helped.

Regarding that you switched editor, under user setting there is a config option for editors that overrides the global configuration.

Regards
Stephen

If the problem can be solved why worry? If the problem can not be solved, worrying will do you no good.

Please Log in or Create an account to join the conversation.