FAQ: Relative URLs in TinyMCE (and mosCE/JoomlaCE)

Moderator: mcsmom

Post Reply
User avatar
kenmcd
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 126
Joined: Thu Aug 18, 2005 2:09 am
Location: California
Contact:

FAQ: Relative URLs in TinyMCE (and mosCE/JoomlaCE)

Post by kenmcd » 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,
Last edited by kenmcd on Tue Nov 01, 2005 7:55 am, edited 1 time in total.

“How do you know I’m mad?” said Alice.
“You must be,” said the Cat, “or you wouldn’t have come here.”

Post Reply