Oh, bummer.
Well thanks anyway.
[Solved] Preview Tab Window Is Blank
Re: Preview Tab Window Is Blank
Could this problem be related to the one at:
http://forum.cmsmadesimple.org/viewtopi ... =7&t=71503?
http://forum.cmsmadesimple.org/viewtopi ... =7&t=71503?
Re: Preview Tab Window Is Blank
i ran into this again today, and re-established the previously published snippet in config.php:
it fixed issues i had with:
if anyone has an idea how i can add an "i-am-an-admin-page-test" to the above if statement (without hacking core files), please let me know.
Code: Select all
if(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS']=='on') {
$config['root_url'] = $config['ssl_url'];
}
- tinyMCE (not loading JS due to mixed protocols)
- GBFilePicker (dito)
- preview tab (not sure - didnt investigate as i usually dont use it)
- preview links in backend (now pointing at "https://...")
- canonicals set incorrectly, when frontend pages normally accessed via http are accessed via https.
if anyone has an idea how i can add an "i-am-an-admin-page-test" to the above if statement (without hacking core files), please let me know.
Re: Preview Tab Window Is Blank
YaHooooooooo!
You fixed it!
That snippet of code in mydomain/public.html/config.php did the job for both preview and TinyMCE.
Thank you so very much. It is good to know that someone knows what he's doing. Most excellent work!!!!
You get an Attaboy and a big thumbs up!

That snippet of code in mydomain/public.html/config.php did the job for both preview and TinyMCE.
Thank you so very much. It is good to know that someone knows what he's doing. Most excellent work!!!!
You get an Attaboy and a big thumbs up!
Re: [Solved] Preview Tab Window Is Blank
i changed the if statement to include a test for admin directory:
Code: Select all
if(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS']=='on' && strpos($_SERVER['PHP_SELF'],$config['admin_dir'])!== false) {
$config['root_url'] = $config['ssl_url'];
}
Re: [Solved] Preview Tab Window Is Blank
I just tested your new code on mine and it still seems to be working great. Good idea about the additional part.
Thanks very much.
Thanks very much.