Wysiwyg not showing
11 posts by 3 authors in: Forums > CMS Builder
Last Post: July 15, 2013 (RSS)
By gregThomas - July 15, 2013
Hi MercerDesign,
Sorry it's taken so long to resolve this issue.
The issue is that the server variable $_SERVER['SCRIPT_NAME'] should return the current directory of a file, but it is missing the first directory on your server. So the variable should return the path /siteSubDirectory/cmsAdmin/3rdParty/tiny_mce, but was actually returning /cmsAdmin/3rdParty/tiny_mce.
To get around this I've hard coded the correct directory path on line 222 of /cmsAdmin/3rdParty/tiny_mce/tiny_mce_gzip.php, so it now looks like this:
$buffer = "var tinyMCEPreInit={base:'" .'/siteSubDirectory/cmsAdmin/3rdParty/tiny_mce' . "',suffix:''};";
I also had to delete the gzip files from your cmsAdmin/data directory to force the WYSIWYG editor to cache the new directory path.
Let me know if you have any questions.
Cheers!
Greg
PHP Programmer - interactivetools.com