WYSIWYG in Firefox 1.0PR
WYSIWYG in Firefox 1.0PR
Did someone used firefox 1.0PR and WYSIWYG-Editor, hack does not work anymore.
regards
cyrano
regards
cyrano
Gruß/ regards cyrano
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
Hi Sander,
can you give me some hints what you did changed or setup to use it?
Which number you have set in conf.php for editor?
and changed the login.php with the addition of "fx"?
kind regards
cyrano
can you give me some hints what you did changed or setup to use it?
Which number you have set in conf.php for editor?
and changed the login.php with the addition of "fx"?
kind regards
cyrano
Gruß/ regards cyrano
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
see this thread
see this thread
http://phpwcms.de/forum/viewtopic.php?t=3431
http://phpwcms.de/forum/viewtopic.php?t=3431
sorry made this, doesn't work on xp firefox 1.0pr.
i wrote that it is fixed, but this was on firefox 0.93 before i installed firefox 1.0pr.
regards
i wrote that it is fixed, but this was on firefox 0.93 before i installed firefox 1.0pr.
regards
Gruß/ regards cyrano
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
quick and dirty
i made change this in login.php
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;
works on my firefox 1.0 PR
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;
works on my firefox 1.0 PR
hi madmus,
thank you for give the code here.
I tried again, but no good results:
my code:
wysiwyg-editor in conf.inc.php is set to "1".
did i set something wrong?
regards
thank you for give the code here.
I tried again, but no good results:
my code:
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();
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;
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;
}
}
wysiwyg-editor in conf.inc.php is set to "1".
did i set something wrong?
regards
Gruß/ regards cyrano
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
mine is like 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();
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;
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;
}
}
Last edited by madmus on Sat 18. Sep 2004, 08:21, edited 1 time in total.
madmus thank you again, i set in your code and it works - think i made a mistake in coding.
thank you for your advice - and have a fine sunny day
regards
thank you for your advice - and have a fine sunny day

regards
Gruß/ regards cyrano
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3