TinyMCE Plugin Install Problem

Having trouble installing serendipity?
TKS
Regular
Posts: 199
Joined: Thu Nov 11, 2004 1:34 am
Location: VA, USA
Contact:

TinyMCE Plugin Install Problem

Post by TKS » Sat Feb 10, 2007 7:06 pm

my problem is that I followed the directions at the bottom of the plugin 100% and when I go to do new entries there isn't any WYSIWYG editor.

No errors...nothing. Just a big space. Anyone else have this problem? What am I doing wrong?

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: TinyMCE Plugin Install Problem

Post by garvinhicking » Mon Feb 12, 2007 1:34 pm

Hi!

Did you turn on the "WYSIWYG editor" option in your s9y blog'S personal preferences?

If yes, did you check your javascript error console of the browser?

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/

Icenor
Regular
Posts: 15
Joined: Wed Dec 06, 2006 7:42 am

Post by Icenor » Sun Apr 01, 2007 2:10 am

I have the same problem. This is what the Opera's error report has to say:

Code: Select all

JavaScript - http://www.gopilot.org/serendipity_admin.php?serendipity[adminModule]=entries&serendipity[adminAction]=new
Inline script thread
Error:
name: ReferenceError
message: Statement on line 43: Reference to undefined variable: tinyMCE
Backtrace:
  Line 43 of inline#6 script in http://www.gopilot.org/serendipity_admin.php?serendipity[adminModule]=entries&serendipity[adminAction]=new
    tinyMCE.init({mode : "textareas", language : "no", theme : "advanced", plugins : ",table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,zoom,flash,searchreplace,print,contextmenu,paste,directionality,fullscreen", theme_advanced_buttons1_add_before : "save,newdocument,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,pastetext,pasteword,separator,search,replace,separator", theme_advanced_buttons3_add_before : "tablecontrols,separator", theme_advanced_buttons3_add : ",emotions,iespell,flash,advhr,separator,print,separator,ltr,rtl,separator,fullscreen", theme_advanced_toolbar_location : "top", theme_advanced_toolbar_align : "left", theme_advanced_path_location : "bottom", content_css : "http://www.gopilot.org/index.php?/serendipity.css", plugin_insertdate_dateFormat : "%Y-%m-%d", plugin_insertdate_timeFormat : "%H:%M:%S", extended_valid_elements : "a[name|href|target|title|onclick|style],img[style|class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style],div[class|aign|style]", external_link_list_url : "example_link_list.js", external_image_list_url : "example_image_list.js", flash_external_list_url : "example_flash_list.js"});


It dosn't work in IE either. By the way, what is the "relative HTTP path to the "tinymce" directory"?

Currently it set to: /plugins/serendipity_event_tinymce/tinymce/

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking » Sun Apr 01, 2007 2:28 pm

Hi!

This error can happen if you did not install TinyMCE completely.

It dosn't work in IE either. By the way, what is the "relative HTTP path to the "tinymce" directory"?

Currently it set to: /plugins/serendipity_event_tinymce/tinymce/


You must set that to the exact path where you installed TinyMCE into, according to the installation instructions.

If you entered that directory, try to call this URL in your browser:

http://yourblog/plugins/serendipity_eve ... e_gzip.php

If that URL does not show you a javascript code, then this directory does not exist and you must enter the proper path and/or download the proper TinyMCE package frmo the TinyMCE homepage.

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/

Icenor
Regular
Posts: 15
Joined: Wed Dec 06, 2006 7:42 am

Post by Icenor » Sun Apr 01, 2007 3:04 pm

What I did was first to install the plugin via the pluginlist in Serendipity. Then I downloaded that acctual plugin and extracted it as instructed by the Serendipity plugin.

I went into the file I downloaded and there is no file called tiny_mce_gzip.php in that directory.

Image

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking » Sun Apr 01, 2007 3:29 pm

Hi!

According ot the plugin installation docs, you must also download the "Download TinyMCE, TinyMCE compressor(Only TinyMCE 2.0 or later)" compressor. This compressor file will offer the tiny_mce_gzip.php file.

Previously it was contained in TinyMCE, but sadly they decided to put it into a seperate package at some point.

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/

Icenor
Regular
Posts: 15
Joined: Wed Dec 06, 2006 7:42 am

Post by Icenor » Sun Apr 01, 2007 6:35 pm

hmm I had extracted the compress zip too but for some reason they had mady it so it created another folder inside the tiny_mce folder... Anyways I'w now moved the files to the correct folder, but I still don't get any editor when I go to New Article.

Is this the javascript code you where talking about?
http://www.gopilot.org/plugins/serendip ... e_gzip.php

TinyMCE is suppose to work in Opera right? Im not getting anything in explorer either.

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking » Mon Apr 02, 2007 9:37 am

Hi!

Yes, that URL seems right to me, so that *should* basically work. Did you maybe try this in Firefox and check out the javascript error console?

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/

Icenor
Regular
Posts: 15
Joined: Wed Dec 06, 2006 7:42 am

Post by Icenor » Mon Apr 02, 2007 8:45 pm

Adding /tinymce to the patch did the trick :roll:

Thank you soo much for all your help. Really good support! :D

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking » Tue Apr 03, 2007 9:48 am

Hi!

Ah, happy to hear that you resolved it :-)

Have fun,
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/

bebr
Regular
Posts: 34
Joined: Thu Apr 26, 2007 2:47 am

Post by bebr » Sun Apr 29, 2007 1:03 am

I have the same problem - and can NOT get tinyMCE to work even after adding /tinymce to the 'patch' i.e. to the path.

Yes, I activated the WYSIWYG option - switching off tinyMCE brings up the HTMLarea editor.

Yes, I see the JS code ("var tinyMCE_GZ = ...") here:
http://mysite.com/sypath/plugins/serend ... e_gzip.php

Based on this what should be the entry in the "relative HTTP path" field?

Thanks
// Bernd

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking » Sun Apr 29, 2007 1:06 pm

Hi!

Your relative path should be

/sypath/plugins/serendipity_event_tinymce/tinymce/

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/

bebr
Regular
Posts: 34
Joined: Thu Apr 26, 2007 2:47 am

Post by bebr » Sun Apr 29, 2007 2:50 pm

Great Garvin,
this was one of the few path variants that I had not tested.
And it also solves the question from here:
http://board.s9y.org/viewtopic.php?t=9745
how to add user styles -> tinyMCE offers a dropdown-box of all available styles.
Now what remains open is how to add user styles to these - only inserting them to the styles.css of the active template does not do the job.

But really, I propose to clarify the info on how to install tinyMCE, the path issue seems to have irritated others as well.

Thanks so far!
// Bernd

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking » Sun Apr 29, 2007 7:25 pm

Hi!

Sadly I myself don't use WYSIWYG editors, so I can't really tell how to do that. Maybe on the tinyMCE forums people have an easy suggestion?

But really, I propose to clarify the info on how to install tinyMCE, the path issue seems to have irritated others as well.


Do you have a proposal on how to change the text? IMHO "relative path to the 'tinymce' directory" is already quite obvious, but I'm open to suggestions.

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/

bebr
Regular
Posts: 34
Joined: Thu Apr 26, 2007 2:47 am

Post by bebr » Sun Apr 29, 2007 8:27 pm

garvinhicking wrote:Sadly I myself don't use WYSIWYG editors, so I can't really tell how to do that.

The question is IMHO not related to the editor - as tinyMCE seems to read any available style into its menu - how do we make a (new) style available (like there are now serendipity_date .. _title .. _entry .. _admin .. _comment etc).

IMHO "relative path to the 'tinymce' directory" is already quite obvious ..

Leaves open if it's a filesystem or URL path, if it starts and/or ends with a slash and if 'tinymce' should be added to the end. So an example would be helpful.

Post Reply