Hi,
I am having some trouble viewing the FCKeditor V2 beta 2. On the website it comes up fine, but when I try to put it on my local server the bar does not show at all. It just looks like a horizontal line. Anyone else having this trouble?
I am having some trouble viewing the FCKeditor V2 beta 2. On the website it comes up fine, but when I try to put it on my local server the bar does not show at all. It just looks like a horizontal line. Anyone else having this trouble?
RE: FCKeditor in firefox?
RE: FCKeditor in firefox?
Do the sample / test files work (i.e. the one included in the package) ?
If yes, then your problem is the configuration of your file, i.e. the way you call the editor or something else within your code. So provide us with some code to see if anyone can spot the error.
Also you *could* maybe do a search on your problem and see if the question has been answered before.
(i.e. could it be that your submit button is named "submit" (name="submit") ?, if so, that is the problem. That question has been answered in one of these fora and has been repeated not so very long again).
Whining that nobody is helping you when you don't give us enough info is just not very constructive.
RE: FCKeditor in firefox?
I am also having the same issue. I can see the editor on the FCKeditor site in Internet Explorer and Firefox. On my server I can only see it in Internet Explorer. I would like to be able to see it in Firefox.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html><!-- InstanceBegin template="/Templates/admin.dwt.php" codeOutsideHTMLIsLocked="false" --> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <!-- InstanceBeginEditable name="doctitle" --> <script type="text/javascript" src="/FCKeditor/fckeditor.js"></script> <script type="text/javascript"> window.onload = function() { var oFCKeditor = new FCKeditor( 'MyTextarea' ) ; oFCKeditor.ReplaceTextarea() ; } </script> <!-- InstanceEndEditable --><style type="text/css"> <!-- body,td,th { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #666666; } body { margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; } .headlines { color: #333333; font-size: 12px; font-weight: bold; line-height: 20px; } .footer-link { color: #999999; font-size: 10px } .footer-link:link { color: #999999; font-size: 10px; text-decoration: none; } .footer-link:active { color: #999999; font-size: 10px; text-decoration: none; } .footer-link:visited { color: #999999; font-size: 10px; text-decoration: none; } .footer-link:hover { color: #666666; font-size: 10px; text-decoration: underline; } .top-gold { color: #FFFB99; font-size: 10px; font-weight: bold; } .top-gold:link { color: #FFFB99; font-size: 10px; text-decoration: none; font-weight: bold; } .top-gold:active { color: #FFFB99; font-size: 10px; text-decoration: none; font-weight: bold; } .top-gold:visited { color: #FFFB99; font-size: 10px; text-decoration: none; font-weight: bold; } .top-gold:hover { color: #FFFB99; font-size: 10px; text-decoration: underline; font-weight: bold; } .top { color: #FFFFFF; font-size: 10px; font-weight: bold; } .top:link { color: #FFFFFF; font-size: 10px; text-decoration: none; font-weight: bold; } .top:visited { color: #FFFFFF; font-size: 10px; text-decoration: none; font-weight: bold; } .top:hover { color: #FFFFFF; font-size: 10px; text-decoration: underline; font-weight: bold; } a:link { color: #E48602; text-decoration: none; } a:visited { text-decoration: none; color: #E48602; } a:hover { text-decoration: underline; color: #000000; } a:active { text-decoration: none; color: #E48602; } --> </style> <script language="JavaScript" type="text/JavaScript"> <!-- function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} } //--> </script> <!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable --> </head> <body> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td bgcolor="#999999"> </td> </tr> <tr> <td></td> </tr> <tr> <td background="../images/dash.gif"><img src="../images/dash.gif" width="4" height="6"></td> </tr> <tr> <td height="30" background="../images/bg.jpg" bgcolor="#E48602"> <a href="index.php" class="top-gold"><strong>Home</strong></a> <a href="content.php" class="top-gold">Content</a> <a href="calendar.php" class="top-gold">Calendar</a> <a href="documents.php" class="top-gold">Documents</a> CLE Members News Seminars Advertisers Categories Users </td> </tr> <tr> <td background="../images/dash.gif"><img src="../images/dash.gif" width="4" height="6"><img src="../images/spacer.gif" width="320" height="1"></td> </tr> <tr> <td><table width="780" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="20"> </td> <td> </td> <td width="20"> </td> </tr> <tr> <td width="20"> </td> <td valign="top"><!-- InstanceBeginEditable name="Body" --> <p><img src="../images/Text.gif" width="32" height="32" align="absmiddle"><strong>Content: Edit</strong></p> <hr size="1"> <form name="form1" method="POST" action="<?php echo $editFormAction; ?>"> <table width="740" border="0" cellspacing="0" cellpadding="0"> <tr valign="top"> <td width="141"> </td> <td width="599"><input type="hidden" name="id" value="<?php echo $row_Recordset1['id']; ?>"></td> </tr> <tr valign="top"> <td><strong>Headline</strong></td> <td><input name="headline" type="text" value="<?php echo $row_Recordset1['headline']; ?>" size="50"></td> </tr> <tr valign="top"> <td><strong>Text</strong></td> <td><textarea name="MyTextarea" id="MyTextarea"><?php echo $row_Recordset1['text']; ?></textarea></td> </tr> <tr valign="top"> <td><strong>Menu Category </strong></td> <td><select name="menu"> <option value="" <?php if (!(strcmp("", $row_Recordset2['id']))) {echo "SELECTED";} ?>>Main Menu Category</option> <?php do { ?> <option value="<?php echo $row_Recordset2['id']?>"<?php if (!(strcmp($row_Recordset2['id'], $row_Recordset2['id']))) {echo "SELECTED";} ?>><?php echo $row_Recordset2['headline']?></option> <?php } while ($row_Recordset2 = mysql_fetch_assoc($Recordset2)); $rows = mysql_num_rows($Recordset2); if($rows > 0) { mysql_data_seek($Recordset2, 0); $row_Recordset2 = mysql_fetch_assoc($Recordset2); } ?> </select></td> </tr> <tr valign="top"> <td><strong>Submenu Category </strong></td> <td><select name="submenu"> <option selected></option> <option value="" <?php if (!(strcmp("", $row_Recordset2['id']))) {echo "SELECTED";} ?>>Submenu Category</option> <?php do { ?> <option value="<?php echo $row_Recordset2['id']?>"<?php if (!(strcmp($row_Recordset2['id'], $row_Recordset2['id']))) {echo "SELECTED";} ?>><?php echo $row_Recordset2['headline']?></option> <?php } while ($row_Recordset2 = mysql_fetch_assoc($Recordset2)); $rows = mysql_num_rows($Recordset2); if($rows > 0) { mysql_data_seek($Recordset2, 0); $row_Recordset2 = mysql_fetch_assoc($Recordset2); } ?> </select></td> </tr> <tr valign="top"> <td><strong>Photo</strong></td> <td><input name="photo" type="text" value="<?php echo $row_Recordset1['photo']; ?>" size="50"></td> </tr> <tr valign="top"> <td><strong>Meta Title </strong></td> <td><input name="metatitle" type="text" value="<?php echo $row_Recordset1['metatitle']; ?>" size="50"></td> </tr> <tr valign="top"> <td><strong>Page Order </strong></td> <td><input name="order" type="text" value="<?php echo $row_Recordset1['order']; ?>"></td> </tr> <tr valign="top"> <td><strong>Show On Main Menu </strong></td> <td><input <?php if (!(strcmp($row_Recordset1['showmenu'],1))) {echo "checked";} ?> name="showmenu" type="checkbox" value="<?php echo $row_Recordset1['showmenu']; ?>"></td> </tr> <tr valign="top"> <td><strong>Show on Footer Menu </strong></td> <td><input <?php if (!(strcmp($row_Recordset1['showfooter'],1))) {echo "checked";} ?> name="showfooter" type="checkbox" value="<?php echo $row_Recordset1['showfooter']; ?>"></td> </tr> <tr valign="top"> <td> </td> <td></td> </tr> <tr> <td> </td> <td><input name="Save" type="submit" id="Save" value="Save"></td> </tr> </table> <input type="hidden" name="MM_update" value="form1"> </form> <p> </p> <!-- InstanceEndEditable --></td> <td width="20"> </td> </tr> <tr> <td width="20"> </td> <td> </td> <td width="20"> </td> </tr> </table></td> </tr> <tr> <td background="../images/dash.gif"><img src="../images/dash.gif" width="4" height="6"></td> </tr> <tr> <td><table width="780" height="30" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="10"><img src="../images/spacer.gif" width="25" height="1"></td> <td width="795"><strong>Need Help? <a href="<a href="http://www.paperstreet.com" target="_blank">http://www.paperstreet.com</a>" class="footer-link">Contact PaperStreet Web Design</a></strong></td> </tr> </table></td> </tr> <tr> <td background="../images/dash.gif"><img src="../images/dash.gif" width="4" height="6"></td> </tr> <tr> <td> </td> </tr> </table> </body> <!-- InstanceEnd --></html>
Thanks.
RE: FCKeditor in firefox?
---------------------------
In the header......
-------------------------------
<script type="text/javascript" src="/FCKeditor/fckeditor.js"></script>
<script type="text/javascript">
window.onload = function()
{
var oFCKeditor = new FCKeditor( 'MyTextarea' ) ;
oFCKeditor.ReplaceTextarea() ;
}
</script>
------------------------------
And in the body of the text where the form is replaced....
--------------------------
<textarea name="MyTextarea" id="MyTextarea"><?php echo $row_Recordset1['text']; ?></textarea>
---------------------------------
Thanks for any help. All of the other code creates the PHP admin page. Thanks.
RE: FCKeditor in firefox?