Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Replace TEXTAREA with Rich Content Editor


orviwan

Recommended Posts

if you want full advance use

 

<script language="javascript" type="text/javascript" src="includes/javascript/tiny_mce/tiny_mce.js"></script>

<script language="javascript" type="text/javascript">

tinyMCE.init({

mode : "textareas",

theme : "advanced",

plugins : "table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,z

oom,flash,searchreplace,print,contextmenu",

theme_advanced_buttons1_add_before : "save,separator",

theme_advanced_buttons1_add : "fontselect,fontsizeselect",

theme_advanced_buttons2_add : "separator,insertdate,inserttime,preview,zoom,separator,forecolor,backcolor",

theme_advanced_buttons2_add_before: "cut,copy,paste,separator,search,replace,separator",

theme_advanced_buttons3_add_before : "tablecontrols,separator",

theme_advanced_buttons3_add : "emotions,iespell,flash,advhr,separator,print",

theme_advanced_toolbar_location : "top",

theme_advanced_toolbar_align : "left",

theme_advanced_statusbar_location : "bottom",

plugin_insertdate_dateFormat : "%Y-%m-%d",

plugin_insertdate_timeFormat : "%H:%M:%S",

extended_valid_elements : "a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|v

space|width|height|align|onmouseover|onmouseout|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>

Does any one know if there any way to make product description area biger in admin?

 

Thanks

 

Hi,

 

Just wanted to point out that this did not work for me. I just shortened the code like so -

 

<script language="javascript" type="text/javascript" src="includes/javascript/tiny_mce/tiny_mce.js"></script>
<script language="javascript" type="text/javascript">
tinyMCE.init({
   mode : "textareas",
theme: "advanced"
});
</script>

 

Cheers

Link to comment
Share on other sites

  • Replies 81
  • Created
  • Last Reply
Hi,

 

Just wanted to point out that this did not work for me. I just shortened the code like so -

 

<script language="javascript" type="text/javascript" src="includes/javascript/tiny_mce/tiny_mce.js"></script>
<script language="javascript" type="text/javascript">
tinyMCE.init({
   mode : "textareas",
theme: "advanced"
});
</script>

 

Cheers

 

The code i put gives you more options and features

Link to comment
Share on other sites

Hi All,

 

Is there any way that I can change the style/format of the paragraph? I would like to have single line spacing rather than the default double line spacing.

 

Does anyone know how to do it?

 

Thanks

 

SHIFT+ENTER is single line

 

ENTER is double line

Link to comment
Share on other sites

Hello,

 

I just wanna thank you for the great tip. The advanced mode is also great but it didn't worked by simply copy/paste but it does work if:

Find:

preview,z
oom,flash,

And Replace with:

preview,zoom,flash,

Find:

|hspace|v
space|width|

And Replace with:

|hspace|vspace|width|

Find:

hr[class|width|size|noshad
e],

And Replace with:

hr[class|width|size|noshade],

Link to comment
Share on other sites

  • 4 weeks later...

hello,

 

i downloaded the dotnet package from the site, and the files are much different from the main package sinc eim working on windows. Does anyone have any instructions on where to insert this package in osecommerce? or is it the same?

 

Thanks

Link to comment
Share on other sites

  • 1 month later...

Archived

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

×
×
  • Create New...