I love drupal. But I have issues with the TinyMCE module.
Personally, I don't mind using html code to beautify my content. But my non-geek-savvy clients want to be able to wysiwyg.
So I'm really trying to get tinyMCE to work with drupal. I've tried and given up many times in the past attempting to install and run tinyMCE on my drupal sites.
But I really want to get this to work this time.
I'm pretty sure I have followed all the install instructions correctly. I've installed the modules into modules/tinymce and /tinymce. It all seemed to go okay. Even to the point that I'm able to set up tinymce profiles.
However, on text editable pages, there is no editor. But the "disable rich-text" displays, which, when clicked - nothing happens.
Any ideas?
The development site is here:
http://thegreatnessofhumanity.com
Comments
doesnt sound like you
doesnt sound like you enabled any of the buttons in adminster -> settings -> tinymce
Thankyou - but no solution
I have enabled some buttons. But clicking "enable rich-text" still does not do anything.
I just took a look, you are
I just took a look, you are getting a javascript error.
to verify,
you uploaded the tinymce.module to the yoursite/modules/
then you installed the the actual tinymce script in yoursite/modules/tinymce so that you have a folder structure like yoursite/modules/tinymce/tinymce correct ?
did you add any other plugins? that came with tinyMCE?
Thanks for the response
"you uploaded the tinymce.module to the yoursite/modules/
then you installed the the actual tinymce script in yoursite/modules/tinymce so that you have a folder structure like yoursite/modules/tinymce/tinymce correct ?"
Correct.
"did you add any other plugins? that came with tinyMCE?"
No. Not that I'm aware of.
Maybe I need to hack some code?
I"ve installed tinymce on
I"ve installed tinymce on multiple sites using drupal 4.7.3 without hacking at anything. it seems to want to work. maybe reuploading all files ? in case something got corrupted somewhere along the way ?
are you using 4.7.3 ? and the 4.7.0 version of the module ?
nothing else looks out of the ordinary in administer -> settings -> tinymce ?
I really want this to work! It has to be something trivial
I'm using: Drupal tinymce module 4.7.3 and TinyMCE engine 2.0.6.1
I've removed and re-uploaded the folders - same result.
Bummer!
And no, nothing else looks out of the ordinary in administer -> settings -> tinymce...
Anyone?
Did you install the tinyMCE module and tinyMCE
The javascript error would suggest you have not install tinyMCE or placed in the wrong place. Did you follow these steps from the install.txt file
AFAIK
Yes I followed this. However, now I am confused.
I uploaded the Drupal tinymce module dir into /modules:
/var/www/thegreatnessofhumanity.com/modules/tinymce
Then uploaded the tinyMCE engine from moxie, into /modules/tinymce:
/var/www/thegreatnessofhumanity.com/modules/tinymce/tinymce
Is that correct? Or should I have done this the other way round?
Thanks for the support so far!
Which was it?
Hi there. Which was the correct path? I'm also very confused about this?
I guess this problem is
I guess this problem is javascript . In your page.tpl.php must have
Thanks - I will try this now
I'm guessing I'll find that in themes/ ?
Note an earlier discussion on this issue: http://drupal.org/node/87440 and here: http://drupal.org/node/75569
From the page.tpl.php
/var/www/thegreatnessofhumanity.com/themes/bluemarine/page.tpl.php
There is also a bunch of code below that, but from the above code, can you see any issues?
All I get on editable pages is the "disable rich-text" link - which does nothing.
Any advice?
Cheers
Perhaps you are fiddling
Perhaps you are fiddling around at the moment, but getting the file http://thegreatnessofhumanity.com/modules/tinymce/tinymce/jscripts/tiny_... generates a 404-error. This file is referenced on your site here:
<script type="text/javascript" src="/modules/tinymce/tinymce/jscripts/tiny_mce/tiny_mce.js"></script>Is there a problem with the place of the tinymce code?
ISSUE RESOLVED
Thanks to K-O-N-G'sadvice I installed this package:
"Combopack Tinymce + filemanager(tinyfck) + lightbox(advlink) + embed media"
http://drupal.org/node/89678
See also: http://drupal.org/node/89662
All runs fine now.
Thanks for all assists...
al
What is different about the
What is different about the combo-pack? I understand that it has TinyFCK and Lightbox and filemanager but how does it chance TinyMCE? TinyMCE should function just fine on its own (i.e. be able to be installed outside of a combo pack) I would think.
I have had some troubles
I have had some troubles with the TinyMCE editor, but now it is all working fine.
What is your problem? Do you have the gz compressor on?
I did not have the
I did not have the compressor on and I added it. I installed it once (with compressor and spellcheck) and could not get the toolbars to appear. I then disabled the module and deleted the TinyMCE folder. After re-uploading I tried without the compressor and then again with the compressor and still nothing.
I do have TinyMCE running in a directory in my modules directory. My modules are kept in modules/contrib to keep the contributed modules seperate from the core download. Would this cause any trouble?
Thanks!
After some fiddling I was
After some fiddling I was able to get the "Disable rich-text" link to appear under my text areas but still no toolbar. Hmm...
Do you have a link where we
Do you have a link where we can view the textarea?
I would be glad to throw up
I would be glad to throw up a link, but it seems when I was messing around and removed TinyMCE from my modules/contrib folder and dropped the tinymce database tables now I can't get them back. Apparently when a module has already been running on your system when you enable you again it doesn't re-run the .install file. I tried adding the tables back manually from the 'mysql' section of the .install and the tables went in fine but the site was still telling me those tables were missing. How can I force it to run the .install file again?
there are a few insertions
there are a few insertions into the system table that need to be removed.
install the devel.module in the repo. the devel module will allow you to reinstall the tinymce module replacing the tables.
Same problem fixed with help of dev
Thanks for point to the dev module.
I had similar probems with Tiny as those discussed in the posts above - I just installed dev as recommended, deleted the tables from my database, made sure that tiny moduled was enabled then was able to 'reinstall module' through dev. Access priv's were still there but I had to redo the tiny profiles and I was up and running with no problems.
Did not try the TinyFCK combo fix because there was a very scary comment/acknowledgement at the end of that post that said that fix would open up the site to unauthorized uploads - or something like that.
Drupal is great. Forums are great.
Thanks man
Thanks man :)
____________________________
Insurance Center
I had this problem too and
I had this problem too and it was related to the tiny_mce_gzip.php file. When I added the file the TinyMCE stopped working and only displayed the "disable rich-text". When I removed the file it worked again.
The TinyMCE module manual says this:
But the read me for TinyMCE Compressor PHP says this:
Which way is the correct way? Is the tiny_mce_gzip.js needed or not? Do I need to edit the code as the read me for TinyMCE Compressor PHP says?
Is the tiny_mce_gzip.js needed or not?
Thank you very much for your detailed decription of this damned problem. Reading through the threads concerning "TinyMCE" i wondered that i was the only one who couldn't install this module and who had this strange error ("disable rich-text").
After removing the compressor-file "tiny_mce_gzip.php" i found the buttons of tinyMCE in my textarea and was glad to use tiny the first time.
But there remains an important task: how to install "TinyMCE compressor"? Did YOU understand (Point 2 above) from which file you have to "Remove the current script tag"? I will do this but i'm not sure which file it is.
Do you have any idea?
Greetings from Christian
http://www.israel-network.de
Not yet
No, I don't have any idea, yet.
I was hoping that there was a solution in the TinyMCE module that didn't require me to edit any source code (not that I'm afraid of doing so, but because I assumed others have solved this before since the compressor-file is mentioned).
Found something...
While going through the TinyMCE forums over at Moxiecode I found that people where asking the same question over there and one answer was provided:
So I guess that means no editing of code (as I was hoping for). Now I'll just have to figure out what else is causing the problem...
are you uploading both? the
are you uploading both? the .js file and the gzcompressor file? both files that come with the compressor download need to be uploaded onto your server.
also make sure that your host has gzip enabled. not fure if the compressor file will work without the host haveing gzip.
That was my question above
Actually, that was my question above: Should I use both files or just the .php one? Because the TinyMCE module manual only mentions the .php one. But now, you answered my question: both files are needed.
I actually have it workning now. I'm pretty sure I've tried both one and two files before, but since then I've reinstalled and changes things. Anyway I'm happy that the gzip is working. But the translation (Swedish in my case) doesn't work right when gzip is enabled, if I remove the gzip files the translation returns. So I'll have to look into that now.
Tinymce Javascript file not in head
I was having a problem after having upgraded to drupal 5 where tinymce was not displaying. Turns out the theme I was using did not have the print $scripts line:
which prevented the calling of the tinymce js.
Charles
www.parkroad.co.za
Charles
Drupal development, Cape Town, South Africa
It was the Theme
I had this problem too: the "disable rich text editor" link appeared, but not the actual rich text editor, just the usual plain textarea. By accident, I discovered that if I change the theme to one of the core ones (like "Pushbutton"), the problem dissapeared. I've confirmed it: I only had this error while I was using the "meta" theme.
Same problem, different fix.
I am new to drupal and have the same problem!
After reading all the possible solutions, my fix is really silly..
Ensure the permissions of:
"modules/tinymce/tinymce/jscripts/tiny_mce/tiny_mce_gzip.php" is set to CHMOD 755.
I remember reading about CHMOD 755 when installing Drupal. But it slipped my mind.
Hopy this help someone.
Ian