no wyswyg with firefox 0.9

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
User avatar
isac
Posts: 410
Joined: Tue 18. Nov 2003, 13:13
Location: Portugal
Contact:

no wyswyg with firefox 0.9

Post by isac »

Thats right!

After upgrade i cant get wyswyg at all :evil: in firefox
any help?

Thanks
Isac.
cyrano
Posts: 1598
Joined: Sat 31. Jan 2004, 18:33
Location: Stuttgart
Contact:

Post 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
Gruß/ regards cyrano
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
User avatar
isac
Posts: 410
Joined: Tue 18. Nov 2003, 13:13
Location: Portugal
Contact:

Post 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.
kpimichael
Posts: 44
Joined: Mon 29. Dec 2003, 03:29

Same Here

Post 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.
madmus
Posts: 18
Joined: Sat 29. May 2004, 03:19

wysiwyg firefox 0.9

Post 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
Pappnase

Post by Pappnase »

hello

where did you find this!? i would send this to Oliver maybe he implement it if this work! :wink:

--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 »

i use htmlArea, i didn't test others.
:wink:
i'ts just quick and dirty hack, just for me
luna
Posts: 28
Joined: Sun 18. Apr 2004, 06:02

Post by luna »

Nice!!! this hack worked for me firefox 0.9 with 1.1RC4 27-08-2004 on MAC OS X
User avatar
nekket
Posts: 613
Joined: Tue 18. Nov 2003, 15:46
Location: Baden-Baden
Contact:

Post by nekket »

OK, it works now... changed the wysiwyg-editor in conf.inc.php from "3" to "1"...
User avatar
StudioZ
Posts: 802
Joined: Fri 28. May 2004, 19:57
Location: Québec, Canada
Contact:

Post by StudioZ »

Thanks Madmus for this hack!
Worked for me firefox 0.8 with 1.1RC4 27-08-2004 on MAC OS X

Cheers,
Image
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:

sorry don't work for me..

Post 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]
Gruß/ regards cyrano
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
glorenz
Posts: 1
Joined: Sat 18. Sep 2004, 11:52

Post 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
JimPansen
Posts: 58
Joined: Sat 31. Jul 2004, 09:36

Jo...

Post by JimPansen »

so klappt das auch bei mir mit Firefox 0.9.2. Danke.
mfG,
JimPansen
Pappnase

Post by Pappnase »

hallo

für fx gibt es doch einen phpwcms patch!

http://docu.fhss.de/1.162.0.0.1.0.phtml
Post Reply