Page 1 of 1

[SOLVED] https on the backend with TinyMCE

Posted: Sat Apr 25, 2015 5:04 am
by Andrew Prior
I use TinyCME, MicroTiny just won't do what I want.
I also just updated my backend to use https by adding this to config.php

Code: Select all

$config['admin_url'] = 'https://website.org/admin';
which works but kills TinyMCE buttons. I did all the usual stuff to fix TinyMCE if it goes wrong, but to no avail. Removed the https back end code above, and immediately all is fine.

1. Is there another way to force https on the backend?
2. Any one else have this issue?
3. Also noted that global setting for https on the public web is not set by microtiny

Andrew

Re: https on the backend with TinyMCE

Posted: Sat Apr 25, 2015 7:59 am
by fredp
Hi Andrew,

Are you running at least CMSMS version 1.11.12? If not, you might consider upgrading to version 1.11.13 or 1.12. The latest versions have a wonderful new feature, dynamic root_url calculation, that, at least for me, resolved the remaining http: vs https: conflicts that I was seeing when using TinyMCE with an https: scheme in $config['admin_url'].

If that doesn't solve it for you, then I can look through my old notes to find a couple of .htaccess hacks that I used to use before 1.11.12 was available.

Hope this helps,
---Fred P.

Re: https on the backend with TinyMCE

Posted: Sat Apr 25, 2015 10:55 am
by fredp
Oops! I just realized that I am still using one workaround. So, I have to correct my earlier statement. While current versions of CMSMS do work better, TinyMCE still has some remaining issues. A workaround is detailed in my last comment (dated 2012-12-13 00:54) of TinyMCE bug report #8692

Re: https on the backend with TinyMCE

Posted: Sat Apr 25, 2015 1:02 pm
by Andrew Prior
Thanks Fred. I am up to date, so will try your work around and code in the next day of so. Andrw

Re: https on the backend with TinyMCE

Posted: Sun Apr 26, 2015 9:54 am
by Andrew Prior
Yes, that fixes it Fred. Thanks very much. Andrew