Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

mceEditor jacked up


blueenigma

Recommended Posts

Posted

Just last week, when I logged into my Administration Panel and went to my Catalog->Categories page, I could add descriptions to my products, and use the tool bar above the box to bold, underline, and change the color of words. I noticed today that the entire tool bar is gone, and oddly enough, in each Description Box, the word 'mceEditor' is written right at the top left corner!

 

This is very strange.

 

Apparently, wherever the mceEditor is located, it somehow got misplaced or pushed around, and now I lost the utility bar.

 

Which file contains the mceEditor, and what might be the fix to get my toolbar back??

 

Oddly, I can easily delete the wording that is phantomly placed in my Product Descriptions box, but it is automatically inserted in the boxes each time I open a new product page. ALSO, whenever I go BACK to a product to edit it's description, the entire description that I previously saved is gone, and the word 'mceEditor' is right back, sitting at the top of the box.

Posted

I'm afraid it looks like there is no-one supporting that editor anymore, & the contrib looks in a right mess with numerous uncommented poorly done updates.

 

I would get rid & replace with something else.

 

FCK is good: FCKeditor for Product Descriptions http://addons.oscommerce.com/info/2900

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Posted
how do i get rid of it? I haven't a clue which file it is located in.....

 

 

Looking at the install, on every page the editor appears you will have:

 

<script language="javascript" type="text/javascript" src="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_ADMIN; ?>tiny_mce/tiny_mce.js"></script>
<script language="javascript" type="text/javascript">
tinyMCE.init({
mode : "textareas",
theme : "advanced",
plugins : "table,advhr,advimage,advlink,emotions,preview,flash,print,contextmenu",
theme_advanced_buttons1_add : "fontselect,fontsizeselect",
theme_advanced_buttons2_add : "separator,preview,separator,forecolor,backcolor",
theme_advanced_buttons2_add_before: "cut,copy,paste,separator",
theme_advanced_buttons3_add_before : "tablecontrols,separator",
theme_advanced_buttons3_add : "emotions,flash,advhr,separator,print",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_path_location : "bottom",
extended_valid_elements : "a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|on
mouseout|name],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]",
external_link_list_url : "example_data/example_link_list.js",
external_image_list_url : "example_data/example_image_list.js",
flash_external_list_url : "example_data/example_flash_list.js"
});
</script>

 

within the <head> section, delete each occurance.

also delete the catalog/admin/tiny_mce directory

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Posted

!YAY!!! I fixed it. Earlier today, I had removed the function "$Class" from my html_output.php file, trying to resolve another problem. I added it back, and I a GOOOD!!!!!!! :D

Posted

Thanks Sam, but I fixed it without having to change the stuff you suggested above. I just had to undo something I did earlier today, and it's repaired.

 

See you around Sam. I'm ALWAYS posting for help.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...