TinyMCE

Creating and modifying plugins.
Post Reply
skixc
Regular
Posts: 6
Joined: Wed Dec 13, 2006 6:24 pm

TinyMCE

Post by skixc »

Hi - Is it easy to integrate tinyMCE with serendipity? Thank YOU!
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: TinyMCE

Post by garvinhicking »

Hi!

Yes, you can install the TinyMCE editor plugin via Spartacus / http://spartacus.s9y.org/.

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
skixc
Regular
Posts: 6
Joined: Wed Dec 13, 2006 6:24 pm

And now an installation question....

Post by skixc »

I had no problem installing the plugin but am getting the following error when i attempt to edit an entry with tinyMCE activated -

Code: Select all

Error: tinyMCE is not defined
Source File: http://www.cricketcreekfarm.com/newsite/blog/serendipity_admin.php?serendipity[action]=admin&serendipity[adminModule]=entries&serendipity[adminAction]=edit&serendipity[id]=1
Line: 325
thank you!
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: And now an installation question....

Post by garvinhicking »

Hi!

This can happen if you did not enter the right tinymce path.

Look up the HTML sourcecode of your admin page of the 'Create entry' section and search for the <script src=...> call of tinymce. Check that URL, enter it in your browser and see if you get the javascript there!

It might help if you put a .htaccess file into the directory of the tinymce plugin with this content:

Code: Select all

RewriteEngine Off
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply