Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
isac
Posts: 410 Joined: Tue 18. Nov 2003, 13:13
Location: Portugal
Contact:
Post
by isac » Wed 1. Sep 2004, 20:55
Thats right!
After upgrade i cant get wyswyg at all
in firefox
any help?
Thanks
Isac.
cyrano
Posts: 1598 Joined: Sat 31. Jan 2004, 18:33
Location: Stuttgart
Contact:
Post
by cyrano » Wed 1. Sep 2004, 21:40
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
isac
Posts: 410 Joined: Tue 18. Nov 2003, 13:13
Location: Portugal
Contact:
Post
by isac » Thu 2. Sep 2004, 10:59
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.
kpimichael
Posts: 44 Joined: Mon 29. Dec 2003, 03:29
Post
by kpimichael » Thu 2. Sep 2004, 23:09
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.
madmus
Posts: 18 Joined: Sat 29. May 2004, 03:19
Post
by madmus » Sat 4. Sep 2004, 04:47
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
Pappnase
Post
by Pappnase » Sat 4. Sep 2004, 09:55
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!?
madmus
Posts: 18 Joined: Sat 29. May 2004, 03:19
Post
by madmus » Mon 6. Sep 2004, 03:43
i use htmlArea, i didn't test others.
i'ts just quick and dirty hack, just for me
luna
Posts: 28 Joined: Sun 18. Apr 2004, 06:02
Post
by luna » Thu 9. Sep 2004, 15:10
Nice!!! this hack worked for me firefox 0.9 with 1.1RC4 27-08-2004 on MAC OS X
nekket
Posts: 613 Joined: Tue 18. Nov 2003, 15:46
Location: Baden-Baden
Contact:
Post
by nekket » Fri 10. Sep 2004, 16:45
OK, it works now... changed the wysiwyg-editor in conf.inc.php from "3" to "1"...
StudioZ
Posts: 802 Joined: Fri 28. May 2004, 19:57
Location: Québec, Canada
Contact:
Post
by StudioZ » Tue 14. Sep 2004, 16:56
Thanks Madmus for this hack!
Worked for me firefox 0.8 with 1.1RC4 27-08-2004 on MAC OS X
Cheers,
PhpWCMS Evangelist, -- iRoutier.com Running phpWCMS 1.4.2 , r354 -> Great Version!!!!
cyrano
Posts: 1598 Joined: Sat 31. Jan 2004, 18:33
Location: Stuttgart
Contact:
Post
by cyrano » Wed 15. Sep 2004, 14:41
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]
glorenz
Posts: 1 Joined: Sat 18. Sep 2004, 11:52
Post
by glorenz » Sat 18. Sep 2004, 12:16
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
JimPansen
Posts: 58 Joined: Sat 31. Jul 2004, 09:36
Post
by JimPansen » Fri 15. Oct 2004, 17:02
so klappt das auch bei mir mit Firefox 0.9.2. Danke.
mfG,
JimPansen