The following warnings occurred:
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 745 errorHandler->error_callback
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 46 - File: showthread.php(1650) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1650) : eval()'d code 46 errorHandler->error_callback
/showthread.php 1650 eval




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Relative URLs and Ckeditor
#1
I'm building a site locally on my PC (XAMPP) which I then want to move onto the server once it's working as required. The wiki rightly suggests that I should use relative URLs. However, ckeditor insists on giving full URLs for inserted images - so they all refer to http://localhost/ which won't work when uploaded to the server.

Is there any way to configure ckeditor (and particularly the "Browse Server" part of loading an image) to use relative URLs? Or do I have to always switch to source view and change the URLs manually?

Thanks for any help.
Reply


Messages In This Thread
Relative URLs and Ckeditor - by peterb - 2011-06-17, 04:24:54
RE: Relative URLs and Ckeditor - by zulusnet - 2015-06-18, 23:53:00
RE: Relative URLs and Ckeditor - by shawn_a - 2015-06-19, 00:17:41
RE: Relative URLs and Ckeditor - by shawn_a - 2015-06-19, 00:32:20
RE: Relative URLs and Ckeditor - by datiswous - 2015-06-19, 19:07:23
Relative URLs and Ckeditor - by yojoe - 2011-06-17, 04:30:51
Relative URLs and Ckeditor - by gSvoren - 2011-06-17, 04:52:00
Relative URLs and Ckeditor - by Connie - 2011-06-17, 05:44:17
Relative URLs and Ckeditor - by peterb - 2011-06-19, 04:10:46
Relative URLs and Ckeditor - by yojoe - 2011-06-19, 04:17:40
Relative URLs and Ckeditor - by LogicalOctopus - 2011-06-22, 07:29:59
Relative URLs and Ckeditor - by Connie - 2011-06-22, 08:21:52
Relative URLs and Ckeditor - by LogicalOctopus - 2011-06-23, 01:46:35
Relative URLs and Ckeditor - by Connie - 2011-06-24, 20:32:32
Relative URLs and Ckeditor - by Lithie - 2011-10-04, 03:31:50
Relative URLs and Ckeditor - by stryker - 2012-03-01, 22:22:45
Relative URLs and Ckeditor - by mvlcek - 2012-03-01, 22:25:24
Relative URLs and Ckeditor - by stryker - 2012-03-01, 22:36:29
Relative URLs and Ckeditor - by mvlcek - 2012-03-01, 23:27:36
Relative URLs and Ckeditor - by stryker - 2012-03-02, 07:51:16
Relative URLs and Ckeditor - by Connie - 2012-03-02, 18:09:28
Relative URLs and Ckeditor - by stryker - 2012-03-02, 22:16:36
Relative URLs and Ckeditor - by cmb - 2012-03-03, 12:50:11
Relative URLs and Ckeditor - by sal - 2012-05-28, 15:50:42



Users browsing this thread: 4 Guest(s)