Hi,
I used CMSimple for many years now but i think it is time to switch to CMSimple_XH. Everything seems to be working oke
except one thing I run into with the editor. One of the websites is using ssl and when I try to edit the content with
FCKEditor the variable myBaseHref is filled with the site url without the "s" so the url is:
http://my.site.domain/ instead of https://my.site.domain/ I tryed to alter this behavior by changing fckconfig.js
in the following way: FCKConfig.BaseHref = 'https://my.site.domain/' ; but that didn't change the behavior.
Anybody any idea how to solve this?
FCKeditor myBaseHref and https site
Re: FCKeditor myBaseHref and https site
Hi!
Check out line 110 in /cmsimple/fckeditor.phpThe BaseHref setting gets overwritten there by creating the editor instance.
That's a bug IMO. We should check on http/https in the future.
And I think we don't need to set the BaseHref by default anyway - if I'm right .
Holger
Check out line 110 in /cmsimple/fckeditor.php
Code: Select all
var myBaseHref = "http://'.$_SERVER['HTTP_HOST'].$sn.'" ;
That's a bug IMO. We should check on http/https in the future.
And I think we don't need to set the BaseHref by default anyway - if I'm right .
Holger
Re: FCKeditor myBaseHref and https site
Hmm, feature of bug ? shouldn't it be set by the settings made in fckconfig.js ?
Re: FCKeditor myBaseHref and https site
Bug.
Those setting should be made in the custom_configuration if it's needed in a special case / setup.
If I remember right, we don't need BaseHref for a simple setup / a normal installation anymore.
I'll check it and the line get removed if I'm right.
Holger
Those setting should be made in the custom_configuration if it's needed in a special case / setup.
If I remember right, we don't need BaseHref for a simple setup / a normal installation anymore.
I'll check it and the line get removed if I'm right.
Holger