Page 1 of 1
no wyswyg with firefox 0.9
Posted: Wed 1. Sep 2004, 20:55
by isac
Thats right!
After upgrade i cant get wyswyg at all

in firefox
any help?
Thanks
Isac.
Posted: Wed 1. Sep 2004, 21:40
by cyrano
Hi Isac,
i still have a 22-06-04 release, there is also no use of wysiwyg-editorworking - not spam, fck works, but got javascript error when setting the editor to spaw (4) and cannot see any existing text.
perhaps a firefox problem?
regards thomas
Posted: Thu 2. Sep 2004, 10:59
by isac
This is the first time I cant get wysiwyg to work in firefox. I think is not a problem with Firefox because it is the same version since i had installed PHPWCMS previous releases.
Like every PC machine, i have installed Explorer.
Another problem I found (maybe You too) is that in Explorer dont say
ATTENTION!
The "SETUP" directory still exists!
Delete that directory - it's potential security problem.
but switch automaticle too your language (in my case PT), and in Firefox Show the Warning but dont switch language
Cumps
Isac.
Same Here
Posted: Thu 2. Sep 2004, 23:09
by kpimichael
I have tried both htmlarea and fckeditor and neither work with Firefox 0.9.3 I suspect that it is Firefox since none of them work. Sure hope this is fixed because i hate IE. I am beginning to believe it is an Activex problem.
wysiwyg firefox 0.9
Posted: Sat 4. Sep 2004, 04:47
by madmus
after looking around i found this
open login.php
find this :
if($c->browser_is("mz1.3+") || $c->browser_is("ns7+")) {
$_SESSION["dhtml_hiding"] = 0;
}
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;
change to this:
if($c->browser_is("mz1.3+") || $c->browser_is("ns7+") || $c->browser_is("fx")) {
$_SESSION["dhtml_hiding"] = 0;
}
switch($phpwcms["wysiwyg_editor"]) {
case 1: if($c->browser_is("ie5.5+") || $c->browser_is("mz1.3+") || $c->browser_is("ns7+") || $c->browser_is("fx")) $_SESSION["wysiwyg_editor"] = 1;
works on me
Posted: Sat 4. Sep 2004, 09:55
by Pappnase
hello
where did you find this!? i would send this to Oliver maybe he implement it if this work!
--edit---
at mine it don't work! ich editor did you use!?
Posted: Mon 6. Sep 2004, 03:43
by madmus
i use htmlArea, i didn't test others.
i'ts just quick and dirty hack, just for me
Posted: Thu 9. Sep 2004, 15:10
by luna
Nice!!! this hack worked for me firefox 0.9 with 1.1RC4 27-08-2004 on MAC OS X
Posted: Fri 10. Sep 2004, 16:45
by nekket
OK, it works now... changed the wysiwyg-editor in conf.inc.php from "3" to "1"...
Posted: Tue 14. Sep 2004, 16:56
by StudioZ
Thanks Madmus for this hack!
Worked for me firefox 0.8 with 1.1RC4 27-08-2004 on MAC OS X
Cheers,
sorry don't work for me..
Posted: Wed 15. Sep 2004, 14:41
by cyrano
hi i tried to use this hack, but lacks....
i got this error: Parse error: parse error, unexpected T_BOOLEAN_OR in line 71
I have now this:
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;
$_SESSION["dhtml_hiding"] = 1;
$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();
$divider = " | ";
$_SESSION["dhtml_hiding"] = 0;
}
switch($phpwcms["wysiwyg_editor"]) {
case 1: if($c->browser_is("ie5.5+") || $c->browser_is("mz1.3+") || $c->browser_is("ns7+")) || $c->browser_is("fx") $_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+")) || $c->browser_is("fx")){ $_SESSION["wysiwyg_editor"] = 1;
}
break;
case 4: if($c->browser_is("ie5.5+")) $_SESSION["wysiwyg_editor"] = 4;
break;
}
}
I use the latest version and can't find in login.php exact this lines you describe.
Any hints?
thank you.
[color=red UPDATE: I solved it - works well

][/color]
Posted: Sat 18. Sep 2004, 12:16
by glorenz
Hallo,
du hast einige Klammern in den nachfolgenden Statements falsch gesetzt:
Falsch:
case 1: if($c->browser_is("ie5.5+") || $c->browser_is("mz1.3+") || $c->browser_is("ns7+")) || $c->browser_is("fx")
Richtig:
case 1: if($c->browser_is("ie5.5+") || $c->browser_is("mz1.3+") || $c->browser_is("ns7+") || $c->browser_is("fx"))
Falsch:
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+")) || $c->browser_is("fx")){ $_SESSION["wysiwyg_editor"] = 1;
}
Richtig:
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+") || $c->browser_is("fx")) $_SESSION["wysiwyg_editor"] = 1;
}
Versetze bzw. entferne die fett dargestellten Klammern und dann sollte es funzen.
Georg
Jo...
Posted: Fri 15. Oct 2004, 17:02
by JimPansen
so klappt das auch bei mir mit Firefox 0.9.2. Danke.
mfG,
JimPansen
Posted: Fri 15. Oct 2004, 17:41
by Pappnase
hallo
für fx gibt es doch einen phpwcms patch!
http://docu.fhss.de/1.162.0.0.1.0.phtml