PEAK XOOPS - Integrating TinyMCE editor in englishin japanese

Integrating TinyMCE editor

List posts in the topic

normal Integrating TinyMCE editor

msg# 1
depth:
0
Previous post - Next post | Parent - Children.1 | Posted on 2005/1/1 5:14
ap1239  二等兵   Posts: 6
I wanted a different editor for TinyD (from http://tinymce.moxiecode.com/) to make it easier for my users to add content. I liked the TinyMCE editor that other CMs used and found that it's easy to get running.

I'm sure an expert XOOPS developer has a better way than this, but
to just get things running:
1) download TinyMCE and copy its jscript directory to /common
2) modify include/cp_functions.php around line 68 to insert the following TinyMCE jscript lines; it's explained in TinyMCE's manual.

<!-- tinyMCE -->
<script language="javascript" type="text/javascript" src="/common/jscripts/tiny_mce/tiny_mce.js"></script>
<script language="javascript" type="text/javascript">
tinyMCE.init({
mode : "textareas"
});
</script>
<!-- /tinyMCE -->

The issue I don't understand how to fix.
-- When you save the TinyD content, the content is saved to the database, but doesn't reload the page -- you have to manually reload.
Votes:0 Average:0.00

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!