When I set the line for WYSIWYG editors to any of the 4 editors avilaible (oddly enough my conf.inc.php doesn't even list spaw as an option but I am using Release 1.1-RC4 22-06-2004) no WYSIWYG editor will show up where they used to in the back end.
Confusing and annoying. Any ideas?
WYSIWYG editor don't show up after editng conf.inc.php!
Re: WYSIWYG editor don't show up after editng conf.inc.php!
Since the archive ~does~ list spaw option:Dittohead wrote:When I set the line for WYSIWYG editors to any of the 4 editors avilaible (oddly enough my conf.inc.php doesn't even list spaw as an option but I am using Release 1.1-RC4 22-06-2004) no WYSIWYG editor will show up where they used to in the back end.
Confusing and annoying. Any ideas?
Code: Select all
$phpwcms["wysiwyg_editor"] = 1; //0 = no wysiwyg editor, 1 = HTMLarea, 2 = FCKeditor, 3 = browser based, 4 = spaw
Code: Select all
//WYSIWYG EDITOR:
//0 = no wysiwyg editor (default)
//1 = HTMLAREA (compatible with IE5.5+ and Mozilla 1.3+ based webbrowsers)
$_SESSION["wysiwyg_editor"] = 0;
$phpwcms["wysiwyg_editor"] = intval($phpwcms["wysiwyg_editor"]);
if($phpwcms["wysiwyg_editor"]) {
include_once ("./include/inc_ext/phpsniff/phpSniff.core.php");
include_once ("./include/inc_ext/phpsniff/phpSniff.class.php");
$c =& new phpSniff();
switch($phpwcms["wysiwyg_editor"]) {
case 1: if($c->browser_is("ie5.5+") || $c->browser_is("mz1.3+") || $c->browser_is("ns7+")) $_SESSION["wysiwyg_editor"] = 1;
break;
case 2: if($c->browser_is("ie5.5+")) $_SESSION["wysiwyg_editor"] = 2;
break;
case 3: if($c->browser_is("ie5.5+")) $_SESSION["wysiwyg_editor"] = 4;
if(!$_SESSION["wysiwyg_editor"]) {
if($c->browser_is("mz1.3+") || $c->browser_is("ns7+")) $_SESSION["wysiwyg_editor"] = 1;
}
break;
case 4: if($c->browser_is("ie5.5+")) $_SESSION["wysiwyg_editor"] = 4;
break;
}
}