How to get links working with WYSIWYG and TinyMCE
Hi. I'm using the latest version of Drupal (7.10).
I had finally gotten CKEditor working perfectly with my Drupal 7 installation - but after leaving it untouched for a couple of months, it seems the licensing has now changed and that you need the $79 license to use CKEditor on a live Drupal site.
On switching to WYSIWYG, I installed TinyMCE 3.4.7 into the libraries directory as per the instructions and set this to the editor in my input formats of FUll HTML and Filtered HTML. Most of the functionality works fine, but I can no longer add functional links.
Could someone explain the right way to do this with WYSIWYG and TinyMCE?
On the TinyMCE website, under the FAQs I found the following information. Didn't know if I needed to cut and paste some of this code somewhere via JQuery or PHP - here's info from the FAQ's:
From http://www.tinymce.com/wiki.php/TinyMCE_FAQ#Paths.2FURLs_are_incorrect.2...
Paths/URLs are incorrect, I want absolute/relative URLs?
These are the different configuration scenarios for URLs within TinyMCE. There is also an example page illustrating these different options:
Relative URLs
This will convert all URLs within the same domain to relative URLs. The URLs will be relative from the document_base_url.
relative_urls : true,
document_base_url : "http://www.site.com/path1/"
Example: http://www.site.com/path1/path2/file.htm >> path2/file.htm
Absolute URLs
This will convert all relative URLs to absolute URLs. The URLs will be absolute based on the document_base_url.
relative_urls : false,
remove_script_host : true,
document_base_url : "http://www.site.com/path1/"
Example: path2/file.htm >> /path1/path2/file.htm
Domain Absolute URLs
This will convert all relative URLs to absolute URLs. The URLs will be absolute based on the document_base_url with domain.
relative_urls : false,
remove_script_host : false,
document_base_url : "http://www.site.com/path1/"
Example: path2/file.htm >> http://www.site.com/path1/path2/file.htm
