Thanks for your prompt replies.
hexdj: Yes, I have a regular site and have setup an aMember application (commercial membership software) where the signup is done on a secure page, hence I want a link from the home page to that secure signup page. However, after playing around a little bit, I found that absolute URLs that direct to other domains are working, only if I put an absolute URL directing to another page on this same domain the domain get stripped out by TinyMCE.
I don’t wanna put the actual domain here so say I have the site on
http://example.com. If I put a link like link there is no problem but if I put link (i.e. the same domain as my site) and then view the HTML output in TinyMCE it shows link, i.e. it converted the link to a relative one. This happens with both, http and https protocol URLs.
mark: I’ve looked through the TinyMCE settings in the admin panel but there is nothing to set it.
However, I’ve browsed the
TinMCE documentation and I think I’ve found something. The
FAQ states something and the
Wiki states that something must be changed in the configuration.
OK, while typing the post here I’ve researched and played around more and this actually
is a feature. According to the TinyMCE documentation the URL conversion is set to “true” by default and one has to disable it manually in the configuration file. So in case anybody else is running into this:
Go into your /modules directory and access the /TinyMCE directory where you have installed the TinyMCE module. There edit the file tinyconfig.php, search for the line that reads relative_urls : "true" (line 101 in version 2.2.5 of the TinyMCE basic module) and set it to “false”. That should be it.
Kinda stupid to enable it by default in my opinion…
Thanks for your help guys.
