FAQ: Relative URLs in TinyMCE (and mosCE/JoomlaCE)
Posted: Tue Nov 01, 2005 7:46 am
Q. How do I configure the TinyMCE WYSIWYG editor save links as relative URLs instead of as absolute URLs?
A. Change two settings in the TinyMCE configuration file.
See TinyMCE Configuration reference here:
http://tinymce.moxiecode.com/tinymce/do ... ation.html
See URL section.
TinyMCE
Find file: /YourJoomlaSite/mambots/editors/tinymce.php
Change these lines to "true"
Line 180: relative_urls : true,
Line 181: remove_script_host : true,
mosCE (JoomlaCE) - based on TinyMCE
Find file: /YourJoomlaSite/mambots/editors/mosce.php
Change these lines to "true"
Line 168: relative_urls : true,
Line 161: remove_script_host : true,
A. Change two settings in the TinyMCE configuration file.
See TinyMCE Configuration reference here:
http://tinymce.moxiecode.com/tinymce/do ... ation.html
See URL section.
TinyMCE
Find file: /YourJoomlaSite/mambots/editors/tinymce.php
Change these lines to "true"
Line 180: relative_urls : true,
Line 181: remove_script_host : true,
mosCE (JoomlaCE) - based on TinyMCE
Find file: /YourJoomlaSite/mambots/editors/mosce.php
Change these lines to "true"
Line 168: relative_urls : true,
Line 161: remove_script_host : true,