Hi,

I'm having trouble getting TinyMCE running on 5.0. I went through similar dramas getting it running on 4.7.x and I've noticed that the install instructions are clearer with this latest release. I've had this running on 4.7.5 so I must be smart enough.

I've downloaded the module and the libraries and installed as per the README.TXT file to sites/all/modules and the libraries to \sites\all\modules\tinymce\includes\.

I can update the settings under Home>Administer>Site Configuration but I cannot see the editor when I create content.

I have no entries in the logs about TinyMCE or any 404 errors. I'm logged in as Admin on the #1 account.

Does anyone know what I should do next?

Kind Regards,
Rim

Comments

VM’s picture

what does your fodler structure look like after the includes?

\sites\all\modules\tinymce\includes\tinymce ?

if so that tinymce folder needs to be removed. I just installed this perfectly however, I was confused originally and uploaded the tinymce (library folder) directly to \sites\all\modules\tinymce\includes\

this was incorrect. the library needs to be removed from its tinymce folder.

rimian’s picture

hey thanks for the reply.

they go:

sites/all/modules/tinymce/includes/docs
sites/all/modules/tinymce/includes/examples
sites/all/modules/tinymce/includes/jscripts

I followed this:

1. Extract to sites/all/modules, you will see: sites/all/modules/tinymce
2. Download TinyMCE libraries from here: http://tinymce.moxiecode.com/download.php
3. Extract content of TinyMCE package to: sites/all/modules/tinymce/includes.
You will see folder name like:
\sites\all\modules\tinymce\includes\docs
\sites\all\modules\tinymce\includes\examples
\sites\all\modules\tinymce\includes\jscripts
4. Setting available here: Administer-TinyMCE

maybe i need better glasses....

VM’s picture

Seems fine to me, did you also install the gzip compressor ? if so and its not installed properly this could be cause of not seeing the tool bar.

if you have cache enabled, you may want to trunctuate the cache table in the database ?

rimian’s picture

Nope. No cache or gzip compressor. I've not istalled the IMCE module either. I've got one row in the cache table but I've left it there. I don't get any significant error in javascript and it's the same in ie and firefox. Oh and I ran update.php.

thanks again

VM’s picture

only thing i can think of is to double check the tinymce settings in the admin area. you could also try reuploading the libaray to insure there were no corrupt files during upload.

rimian’s picture

I tried it on my local network because I do have an unreliable FTP connecttion. Same thing happened.

Then I started from scratch (on the local network) and it worked. I had upgraded from 4.7.5 because I started this project the day before 5.0 was released. Half my luck. I might have made an error following the upgrade instructions or perhaps there is a bug. If i find anything useful I will post.

Thanks for your help.

rimian’s picture

When I copied the old theme across it broke. Something to do with that.

knseibert’s picture

Using the new theme garland works for me, but switching to my custom theme breaks tinymce.

theiviaxx’s picture

Ok, in v5 the page.tpl.php file adds the <?php print $scripts ?> line in the header. I am guessing this takes advantage of the drupal_add_js() function. So in your custom theme, add that to your page.tpl.php file.

knseibert’s picture

I use the original garland page.tpl.php down to the body tag, so the print $scripts line is already included in the header.

dixieau’s picture

hiya I am trying to install this right now and I must be one daft bugger could somebody tell WHICH files are the library that I need to download at http://tinymce.moxiecode.com/download.php ??

I am totally confuzzled

Thanks

VM’s picture

tinymce_2_0_9.zip or tgz depending on what unpacker you use.

TinyMCE 2.0.9

Download the latest TinyMCE release. View the changelog for details about this release.

Tar GZip compressed file: tinymce_2_0_9.tgz
Zip compressed file: tinymce_2_0_9.zip

dixieau’s picture

:) thank you for that, all working, why I kept looking for the file named 'libraries' is beyond me!

NikLP’s picture

After several hours brain ache, finally...
I had not moved the subfolders out of the tinymce folder as described above.

Rimian, I owe you a beer! :)

Drupalace-1’s picture

Interesting and helpful discussion.

I got TinyMCE working on 5.0 – sort of.

I've installed a spanking-new copy exactly as everyone has described and confirmed here, am logged in with ID #1, and have all TinyMCE permissions turned on (though it shouldn't matter for ID 1). The TinyMCE buttons do show up in the "body" field of content nodes. So far so good.

But they don't show up in some areas where they used to show up for me in 4.x, such as the site's footer settings, or the "body" field in the front_page module's settings. Nothing there but unadorned input boxes.

Odder, TinyMCE settings at admin/settings/tinymce/ now show only "Basic Settings", with "Editor mode" and "Enable TinyMCE for" radio controls. And that's it. No other links or options from there.

Under 4.x, the same TinyMCE settings listed "tinyMCE profiles"; configuring one of those showed "Basic Setup", "Visibility", "Buttons and plugins", and much more.

I've lost these profile settings in 5.0, with no way to fine-tune TinyMCE. In 4.x, the address admin/settings/tinymce/add/ led to new profile setup; that same address in 5.0 just returns the same page as admin/settings/tinymce/ , with nothing but "Basic Settings".

Are the rest of you getting TinyMCE profiles in 5.0, same as 4.x? Am I missing some basic 5.0 TinyMCE setup option that enables the profiles and all their tweaky goodness? I'm poking all around input formats and user roles, but not finding anything relevant...

VM’s picture

It looks to me like that feature has been removed from the Drupal 5 version of Tinymce. The settings screen for TinyMCE was indeed minimal as compared to the version of 4.7.x

Drupalace-1’s picture

You're right; finding other threads here and there, I see that Tiny MCE takes a huge hit in functionality under 5.x.

There's talk of a workaround here http://drupal.org/node/100864 , though I haven't had the nerve to play with it yet. I'll be keeping an eye out for other solutions.

jvijayv’s picture

I had similar issues to what you guys are using. I have a blog setup for every user on my site. Tiny mce was not showing up for the users. So I went into the user roles page and enabled Tinymce and IMCE for the users. Everything seems to work fine now.

I hope I solved some of you guy's issues.
Thx.

NikLP’s picture

Profiles/roles for TinyMCE have been disabled in v5. God only knows why.

I'm pretty sure site admins don't want to be using tinymce when they could be using Filt. HTML or Textile.
I'm also pretty sure the normal users don't want to be using anything else!
And with the settings for filter being below the text, it's not easy to see. Plus if you change the default to anything else other than tinymce, when you get to an "add content" page, you can't enable tinymce, as the JS won't load dynamically (for obvious reasons).

Bit upside down if you ask me.