[SOLVED] https on the backend with TinyMCE

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
Andrew Prior
Forum Members
Forum Members
Posts: 241
Joined: Sun Oct 28, 2007 4:14 am
Location: Australia

[SOLVED] https on the backend with TinyMCE

Post 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
Last edited by Andrew Prior on Sun Apr 26, 2015 9:56 am, edited 1 time in total.
fredp
Forum Members
Forum Members
Posts: 218
Joined: Sun Jul 27, 2008 1:36 am
Location: USA

Re: https on the backend with TinyMCE

Post 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.
Nearly all men can stand adversity, but if you want to test a man's character, give him power.
- Abraham Lincoln
fredp
Forum Members
Forum Members
Posts: 218
Joined: Sun Jul 27, 2008 1:36 am
Location: USA

Re: https on the backend with TinyMCE

Post 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
Nearly all men can stand adversity, but if you want to test a man's character, give him power.
- Abraham Lincoln
Andrew Prior
Forum Members
Forum Members
Posts: 241
Joined: Sun Oct 28, 2007 4:14 am
Location: Australia

Re: https on the backend with TinyMCE

Post 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
Andrew Prior
Forum Members
Forum Members
Posts: 241
Joined: Sun Oct 28, 2007 4:14 am
Location: Australia

Re: https on the backend with TinyMCE

Post by Andrew Prior »

Yes, that fixes it Fred. Thanks very much. Andrew
Post Reply

Return to “The Lounge”