TinyMCE WYSIWYG editor

Creating and modifying plugins.
bed(without-password)

Post by bed(without-password) »

Anonymous wrote:no buttons appear at the top of the edit field.
ali
I am installed this tinymce too.
The problem for me was, that I have enabled gzip compression for my blog, which, I think is the default.
But tinymce has the gzip compressionfeature as plugin, that is not included
I did just downlod the compression plugin and install. then, it works!
It might the same problem for you
Guest

Post by Guest »

I've tried tinymce.
It works, but in htmlarea was a simple an fine possibillity to insert images from the uploads_dir.
I've installed imanager also, but tinymce seems not recognizes it.
I've copied the editor_plugin.js and the cloned it to editor_plugin_src.js also.
I do not know what to do .... :roll:
Sven
Regular
Posts: 14
Joined: Sat Sep 10, 2005 12:29 am

Post by Sven »

I try to install TinyMCE. In the HTML-source the JS points to "tinymce/tiny_mce_gzip.php". But this file isn't in the jscripts-directory. Only *.js-files are there.
Can someone help me?

Thanks,

Sven

EDIT: OK, I understand now, that I have to download also tinymce_compressor. Works fine now.
MySchizoBuddy
Regular
Posts: 340
Joined: Sun Jun 12, 2005 5:28 am

Post by MySchizoBuddy »

actually u should alter the serendipity_tinymce.php file so it calls tiny_mce.js
the gzip version isn't working.

plus tinymce doesnot have a free filemanager or imagebrowser. If you want those features from it you have to pay for it.

ur only solution is to use imanager, I just installed and check ed it and it works fine. read the readmefile inside the docs folder of imanager and follow the specific instructions on how to install it for tinymce.
plus i'll recommend using the dynamic directory feature when ur configuring imanager, it is mentioned in the read me.

Code: Select all

	$cfg['ilibs_dir'] 	   = array('/tlb/uploads/');		
	$cfg['ilibs_dir_show'] = true;							$cfg['ilibs_inc']      = realpath(dirname(__FILE__) . '/../scripts/rdirs.php'); 
Image
Continent
Posts: 3
Joined: Fri May 26, 2006 2:43 pm
Contact:

Post by Continent »

I read through this thread but I still can't figure how to make this plugin work.
I'v tried to put in setting both relative (/plugins/serendipity_event_tinymce/tinymce/) and absolute path, but I still see only input text box without any buttons around.
Script load in page source is looks like this (absolute):
<SCRIPT language=javascript src="/disk3/free/www/continent/serendipity/plugins/serendipity_event_tinymce/tinymce/jscripts/tiny_mce/tiny_mce_gzip.php" type=text/javascript></SCRIPT>
Path is right, but is still get script error tinyMCE is not defined. I'v tried FCKeditor too but with the same result.
Can you help me please?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Are you sure the path is right? IF you open the URL via

http://yourdomain/disk3/free/www/contin ... e_gzip.php

you get the right script?

I don't tihnk so...instead you should enter the HTTP path there, which I guess would look like this:

http://yourdomain/serendipity/plugins/s ... e_gzip.php

HTH,
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/
Continent
Posts: 3
Joined: Fri May 26, 2006 2:43 pm
Contact:

Post by Continent »

garvinhicking wrote:Hi!

Are you sure the path is right? IF you open the URL via

http://yourdomain/disk3/free/www/contin ... e_gzip.php

you get the right script?

I don't tihnk so...instead you should enter the HTTP path there, which I guess would look like this:

http://yourdomain/serendipity/plugins/s ... e_gzip.php

HTH,
Garvin
Really THANK you for this idea. The /disk3/... path was detected by serendipity and it's path on disk of my ISP, but with my real "internet" path it works. There was yet problem with char case (fck instead of FCK in FCKeditor). So, thank you again :) .
Continent
Posts: 3
Joined: Fri May 26, 2006 2:43 pm
Contact:

Post by Continent »

I have another question - FCKeditor and TinyMCE works, but in TinyMCE I have something wrong with text, probably something bad with language pack, but I have not installed any. Texts looks like this - {$lang_insert_image_src} .
And I had to change serendipity_event_tinymce.php to call tiny_mce.js instead of tiny_mce_gzip.php as was written few posts before. Without this change it still loads the page but probably never finishes.
mbirth
Posts: 4
Joined: Sun Feb 19, 2006 10:12 am
Location: DE, Berlin
Contact:

Post by mbirth »

I also tried TinyMCE and it worked somewhat well. I had to add

Code: Select all

remove_linebreaks: false;
to the plugin source so that TinyMCE keeps the linebreaks so that I don't need additional <br />-Tags.

The body of TinyMCE is also gray here. I remember fixing it for beta-3 but the changes got lost during the update to the final release. But I just played around with the global s9y-stylesheet until body and status line of TinyMCE were both white.

But as nice as TinyMCE is, I got a bug ... and I don't know whether it is a problem with Opera or with TinyMCE itself. Sometimes it creates   instead of a simple space. Of course, this creates a very weird look.

Did anyone notice this, too? I'd love to use TinyMCE but currently, I'm spending more time afterwards correcting all those   than with actually writing an entry.

Cheers,
-mARKUS

EDIT: Thinking about it, it may have to do with the AutoSave-plugin. Maybe reading the contents of the fields for saving interferes with some TinyMCE-stuff or confuses the browser ... I don't know. Will play around with it when writing my next entry.
Hokey
Regular
Posts: 141
Joined: Wed Dec 14, 2005 3:36 pm
Location: Germany
Contact:

Post by Hokey »

Continent wrote:I have another question - FCKeditor and TinyMCE works, but in TinyMCE I have something wrong with text, probably something bad with language pack, but I have not installed any. Texts looks like this - {$lang_insert_image_src} .
I have also this problem as you can see on this screenshot:

Image

or on this screenshot:

Image

What could there be wrong?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

You guys might want to check your HTML output and see which JS files are loaded, and check if the language js files frmo tinymce are loaded?

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/
Hokey
Regular
Posts: 141
Joined: Wed Dec 14, 2005 3:36 pm
Location: Germany
Contact:

Post by Hokey »

Oh, what would I do without you, Garvin... I had just to install the german language files.
matthiasm3112
Regular
Posts: 5
Joined: Mon Aug 21, 2006 2:46 pm

Post by matthiasm3112 »

Hi,

I tried to install the tinymce plugin and cant get it to work...
Im using Firefox 1.5 and TinyMCE 2.06; I read all the posts:
the relative path is correct, i checked. I tried a htaccess file with "Rewrite Enfgine Off" in the serendipity_event_tinymce directory. Didnt help.
Now I dont know.
Any ideas anyone?
I would appreciate it ;-)

regards
Matthias
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Matthiasm: Did you also check for that language file this thread was about?

What does your tinymce javascript call look like in the HTML source?

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/
matthiasm3112
Regular
Posts: 5
Joined: Mon Aug 21, 2006 2:46 pm

Post by matthiasm3112 »

Hi Garvin,

this is a very fast reply ;-)
No i hadnt installed the language (German). I did that now, nothing changed.

This is the javascript call:

Code: Select all

<script language="javascript" type="text/javascript" src="/biowein_blog/plugins/serendipity_event_tinymce/tinymce/jscripts/tiny_mce/tiny_mce_gzip.php"></script>
Can you see anything that might help?
P.S. I deleted the htaccess file now - do i still need it?
Post Reply