Wysiwyg editor is gone!
Moderator: Thorsten
Wysiwyg editor is gone!
After update to 1.5.3 the Wysiwyg editor does not load at all!
Tested on two different systems with IE and Firefox 1.5 beta2 on both.
Tested on two different systems with IE and Firefox 1.5 beta2 on both.
(v1.5.2) for me with IE6 the Editor is loading with Firefox 1.0.7 not. I found this after i read your post.
But for me its e nice feature because i have no chance to insert flash or other things with WYSEWIG-Editor.
It would be a really nice feature to decide between input with WYSIWYG editor and input by text editor .... maybe by a little button in editor himself. (but i read in an other post its planed for v1.6 )
At this time i must use this little bug or have to change the text direct in database.
But for me its e nice feature because i have no chance to insert flash or other things with WYSEWIG-Editor.
It would be a really nice feature to decide between input with WYSIWYG editor and input by text editor .... maybe by a little button in editor himself. (but i read in an other post its planed for v1.6 )
At this time i must use this little bug or have to change the text direct in database.
Hi jazcyk,
I cannot confirm this issue. I checked it with IE6 and Firefox 1.0.7 and everythings looks good.
bye
Thorsten
I cannot confirm this issue. I checked it with IE6 and Firefox 1.0.7 and everythings looks good.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
this Problem exist if you edit an entry not if you create a new one.
The crazy Thing is, that is not for all entrys the same reaktion. Some works in Firfox with WISIWYG editor and some not
If you dont believe it, i can give you the link and the admin-data to my FAQ and you can look by yourself.
You have a PN
The crazy Thing is, that is not for all entrys the same reaktion. Some works in Firfox with WISIWYG editor and some not
If you dont believe it, i can give you the link and the admin-data to my FAQ and you can look by yourself.
You have a PN
Hi,
I tested it and the editor does not load sometimes. It helps when you're refreshing the page with a press on F5.
I'll try to find a workaround.
bye
Thorsten
I tested it and the editor does not load sometimes. It helps when you're refreshing the page with a press on F5.
I'll try to find a workaround.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Hi jazcyk,
thanks, I'm checking this and give you some feedback.
bye
Thorsten
thanks, I'm checking this and give you some feedback.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
nice feature ...
@ Klausing
You write:
Sometimes I just create an entry from the admin panel with a few words and then connect to the database with a client. Depends on what mood I'm in and what is the content.
But for LINKS and (especially) PICTURES and ATTACHMENTS the web-interface is practical.
You write:
Consider to bypass the php/web interface and go directly to the database with an appropriate client that works with your database. I do that quite a lot - when editing the text, correcting typos etc. It is much faster.But for me its a nice feature because I have no chance to insert flash or other things with WYSEWIG-Editor.
Sometimes I just create an entry from the admin panel with a few words and then connect to the database with a client. Depends on what mood I'm in and what is the content.
But for LINKS and (especially) PICTURES and ATTACHMENTS the web-interface is practical.
more info.
I have Apache 2.0.54 + php5.1 RC + 4 different MySQL server versions running on 2 my local machines. I just cloned the FAQ system to those two machines and problems persists with all browsers.
Hi,
the problem is a browser issue...
bye
Thorsten
the problem is a browser issue...
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
you can't be serious!
which browsers and versions would you recommend then since IE does not work?
And how'd you explain then that it worked with 1.5.2 ?
And how'd you explain then that it worked with 1.5.2 ?
Hi,
I use Firefox. And it's working here on all of my installations... but I'm working on this issue right now.
bye
Thorsten
I use Firefox. And it's working here on all of my installations... but I'm working on this issue right now.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Hi,
could you please change the code of the file admin/header.php to the following and test the result:
Thanks for testing!
bye
Thorsten
could you please change the code of the file admin/header.php to the following and test the result:
Code: Select all
<?php
/**
* $Id: header.php,v 1.8.2.7 2005/10/12 05:53:34 thorstenr Exp $
*
* header of the admin area
*
* @author Thorsten Rinne <thorsten@phpmyfaq.de>
* @since 2003-02-26
* @copyright (c) 2001-2005 phpMyFAQ Team
*
* The contents of this file are subject to the Mozilla Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
* License for the specific language governing rights and limitations
* under the License.
*/
if (!defined('IS_VALID_PHPMYFAQ_ADMIN')) {
header('Location: http://'.$_SERVER['SERVER_NAME'].dirname($_SERVER['SCRIPT_NAME']));
exit();
}
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
header("Content-type: text/html; charset=".$PMF_LANG["metaCharset"]);
header("Vary: Negotiate,Accept");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $PMF_LANG["metaLanguage"]; ?>" lang="<?php print $PMF_LANG["metaLanguage"]; ?>">
<head>
<title><?php print $PMF_CONF["title"]; ?> - powered by phpMyFAQ</title>
<meta name="copyright" content="(c) 2001-2005 phpMyFAQ Team" />
<meta http-equiv="Content-Type" content="text/html; charset=<?php print $PMF_LANG["metaCharset"]; ?>" />
<style type="text/css"> @import url(../template/admin.css); </style>
<script language="JavaScript" type="text/javascript" src="../inc/functions.js"></script>
<?php
if (isset($_REQUEST["aktion"]) && ($_REQUEST["aktion"] == "editentry" || $_REQUEST["aktion"] == "news" || $_REQUEST["aktion"] == "editpreview" || $_REQUEST["aktion"] == "takequestion") && !emptyTable(SQLPREFIX."faqcategories")) {
?>
<style type="text/css"> @import url(editor/htmlarea.css); </style>
<script language="JavaScript" type="text/javascript">
//<![CDATA[
_editor_url = "editor";
_editor_lang = "en";
//]]>
</script>
<script language="JavaScript" type="text/javascript" src="editor/htmlarea.js"></script>
<script language="JavaScript" type="text/javascript" src="editor/plugins/ImageManager/image-manager.js"></script>
<script language="JavaScript" type="text/javascript">
//<![CDATA[
HTMLArea.init();
HTMLArea.loadPlugin("ImageManager");
HTMLArea.onload = function() {
var editor = new HTMLArea("content");
var config = new HTMLArea.Config();
config.width = "565px";
config.height = "400px";
var phpMyFAQLinks = {
<?php
$output = "'Include internal links' : '',\n";
$result = $db->query('SELECT '.SQLPREFIX.'faqdata.id AS id, '.SQLPREFIX.'faqdata.lang AS lang, '.SQLPREFIX.'faqcategoryrelations.category_id AS category_id, '.SQLPREFIX.'faqdata.thema AS thema FROM '.SQLPREFIX.'faqdata LEFT JOIN '.SQLPREFIX.'faqcategoryrelations ON '.SQLPREFIX.'faqdata.id = '.SQLPREFIX.'faqcategoryrelations.record_id AND '.SQLPREFIX.'faqdata.lang = '.SQLPREFIX.'faqcategoryrelations.record_lang ORDER BY '.SQLPREFIX.'faqcategoryrelations.category_id, '.SQLPREFIX.'faqdata.id');
while ($row = $db->fetch_object($result)) {
$output .= "'".PMF_htmlentities(chopString($row->thema, 8), ENT_NOQUOTES, $PMF_LANG['metaCharset'])."' : '<a href=\"index.php?action=artikel&cat=".$row->category_id."&id=".$row->id."&artlang=".$row->lang."\">".PMF_htmlentities(str_replace(array('\n', '\r'), '', $row->thema), ENT_NOQUOTES, $PMF_LANG['metaCharset'])."<\/a>',\n";
};
$output = substr($output, 0, -2);
print $output;
?>
};
var internalLinks = {
id : "internalLinks",
tooltip : "internal Link",
options : phpMyFAQLinks,
action : function(editor)
{
var elem = editor._toolbarObjects[this.id].element;
editor.insertHTML(elem.value);
elem.selectedIndex = 0;
},
refresh : function(editor) { }
};
config.registerDropdown(internalLinks);
config.toolbar = [ [ "fontsize", "space", "formatblock", "space", "bold", "italic", "underline", "strikethrough", "separator", "subscript", "superscript", "separator", "copy", "cut", "paste", "space", "undo", "redo", "space", "removeformat", "killword" ], [ "justifyleft", "justifycenter", "justifyright", "justifyfull", "separator", "lefttoright", "righttoleft", "separator", "orderedlist", "unorderedlist", "outdent", "indent", "separator", "forecolor", "hilitecolor", "separator", "inserthorizontalrule", "createlink", "insertimage", "inserttable", "htmlmode" ], [ "internalLinks" ] ];
config.formatblock = {
"Heading 3": "h3",
"Heading 4": "h4",
"Heading 5": "h5",
"Heading 6": "h6",
"Normal": "p",
"Address": "address",
"Formatted": "pre",
"Code": "code"
};
HTMLArea.replace("content", config);
}
//]]>
</script>
<object data="editor/images/ed_about.gif width="0" height="0"></object>
<object data="editor/images/ed_align_center.gif width="0" height="0"></object>
<object data="editor/images/ed_align_justify.gif width="0" height="0"></object>
<object data="editor/images/ed_align_left.gif width="0" height="0"></object>
<object data="editor/images/ed_align_right.gif width="0" height="0"></object>
<object data="editor/images/ed_blank.gif width="0" height="0"></object>
<object data="editor/images/ed_charmap.gif width="0" height="0"></object>
<object data="editor/images/ed_color_bg.gif width="0" height="0"></object>
<object data="editor/images/ed_color_fg.gif width="0" height="0"></object>
<object data="editor/images/ed_copy.gif width="0" height="0"></object>
<object data="editor/images/ed_custom.gif width="0" height="0"></object>
<object data="editor/images/ed_cut.gif width="0" height="0"></object>
<object data="editor/images/ed_delete.gif width="0" height="0"></object>
<object data="editor/images/ed_format_bold.gif width="0" height="0"></object>
<object data="editor/images/ed_format_italic.gif width="0" height="0"></object>
<object data="editor/images/ed_format_strike.gif width="0" height="0"></object>
<object data="editor/images/ed_format_sub.gif width="0" height="0"></object>
<object data="editor/images/ed_format_sup.gif width="0" height="0"></object>
<object data="editor/images/ed_format_underline.gif width="0" height="0"></object>
<object data="editor/images/ed_help.gif width="0" height="0"></object>
<object data="editor/images/ed_hr.gif width="0" height="0"></object>
<object data="editor/images/ed_html.gif width="0" height="0"></object>
<object data="editor/images/ed_image.gif width="0" height="0"></object>
<object data="editor/images/ed_indent_less.gif width="0" height="0"></object>
<object data="editor/images/ed_indent_more.gif width="0" height="0"></object>
<object data="editor/images/ed_killword.gif width="0" height="0"></object>
<object data="editor/images/ed_left_to_right.gif width="0" height="0"></object>
<object data="editor/images/ed_link.gif width="0" height="0"></object>
<object data="editor/images/ed_list_bullet.gif width="0" height="0"></object>
<object data="editor/images/ed_list_num.gif width="0" height="0"></object>
<object data="editor/images/ed_paste.gif width="0" height="0"></object>
<object data="editor/images/ed_print.gif width="0" height="0"></object>
<object data="editor/images/ed_redo.gif width="0" height="0"></object>
<object data="editor/images/ed_right_to_left.gif width="0" height="0"></object>
<object data="editor/images/ed_rmformat.gif width="0" height="0"></object>
<object data="editor/images/ed_save.gif width="0" height="0"></object>
<object data="editor/images/ed_show_border.gif width="0" height="0"></object>
<object data="editor/images/ed_splitcel.gif width="0" height="0"></object>
<object data="editor/images/ed_undo.gif width="0" height="0"></object>
<object data="editor/images/fullscreen_maximize.gif width="0" height="0"></object>
<object data="editor/images/fullscreen_minimize.gif width="0" height="0"></object>
<object data="editor/images/insert_table.gif width="0" height="0"></object>
<?php
}
?>
</head>
<body id="body" dir="<?php print $PMF_LANG["dir"]; ?>"><a name="top"></a>
<!-- Header -->
<div id="header">
<h1>phpMyFAQ <?php print $PMF_CONF["version"]; ?></h1>
</div>
<!-- Navigation -->
<div class="sideBox">
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
unfortunately ...
unfortunately NO!
Tested on my local with Firefox1.5 beta2 and IE6 SP2
Tested on my local with Firefox1.5 beta2 and IE6 SP2