Hi all,
Quick post as I've spent 2 days working on this and want to record the information for others to find.
As it now stands, the modules to get a WYSIWYG editor working in Drupal 6.x are incompatible with the img_assist module. Since this is fairly basic required functionality, there are a lot of people wasting a lot of time trying to get them to work. Many threads recommend different patches to each of the modules.
Here is what I've found:
1) Installing these patches isn't worth it - I didn't get a single one to run correctly, as they are compiled against daily snapshots of (fast changing) code, and the ones I managed to hack by hand didn't make the functionality work anyway.
2) img_assist is only compatible with tinymce version 2.x
3) the drupal module called tinymce (not to be confused with the editor it uses, also called tinymce) is depreciated. It doesn't say this anywhere.
4) the wysiwyg module attempts to include an img_assist button by default, but it is broken. Enabling it breaks the whole tinymce editor.
Before installing the version of WYSIWYG below, it is necessary to install the most recent version of tinymce from here: http://drupal.org/project/tinymce - follow the install instructions, enable the plugin, create a profile, then disable it. This is because WYSIWYG expects to be upgrading from the tinymce module - further instructions here may be useful: http://drupal.org/node/53592
Most of the versions below were listed here - http://drupal.org/node/322331 Thanks to myDRU for posting the list after similar frustration. I've added links to each piece of the puzzle:
Drupal version 6.6
WYSIWYG version 6.x-1.x, (downloaded 30/10/08) :
http://ftp.drupal.org/files/projects/wysiwyg-6.x-1.x-dev.tar.gz
TinyMCE version 2.1.3:
http://downloads.sourceforge.net/tinymce/tinymce_2_1_3.zip?modtime=11961...
Image Assist 6.x-2.x:
http://ftp.drupal.org/files/projects/img_assist-6.x-2.x-dev.tar.gz
Views 6.x-2.1:
http://ftp.drupal.org/files/projects/views-6.x-2.1.tar.gz
With these exact versions installed, there is no need to install the img_assist 'drupalimage' plugin separately - it will work by default.
I hope that's useful; I took far too long to find these simple bits of information. While I massively admire the work that the developers (especially at the moment sun and others are putting in, the mess that currently exists is enough to put anyone off - hopefully this info won't be needed for long, but in the mean time the more highly publicised it is, the better.
Andrew
Comments
any update to this?
this used to work for me, but no longer. the version of views has a security flaw and the version of wysisyg is revoked. i have not been able to get this unholy trinity to work in a long time and have several broken sites now because of it. :(
figured out the upgrade key step.
using current releases (as of this writing) to upgrade my setup of wysiwyg and img_assist working with tinymce 3.x:
views-6.x-2.6.tar.gz
wysiwyg-6.x-2.0.tar.gz
img_assist-6.x-3.x-dev.tar.gz
when i updated all the modules, the camera button disappeared from the tool bar and the insert routine stopped working at the last screen of image assists popup window. after a lot of headbanging and a weekend of grumpiness, i dropped the database on a dev box, did a fresh start with all the modules in place and found all loaded fine. so i went back to production and started popping tables until i found the right one.
the fix finally turned out to be simple. you just need to empty the table for wysiwyg. mine only had two rows in it, so i had to redo the setup for full and filtered html, but i was able to restore the functionality and preserve all the images inserted already via img_assist without having to go out and redo a new image solution.
hope this helps someone out there. this is a brutal roadblock to drupal deployment. the content production workflow for non-developer editors should be wordpress simple by defacto.
Thankyou!
Thanks for posting this. I just updated and a client noticed they could no longer administer images. I found this just about the time I was starting to bang my head on the wall!!
OH jesus Thank you
So much.
I too was at the bang-head-on wall phase. THANK YOU for this simple yet obvious fix.
I might also add, that this would not work for me unless I updated to the 6.x-3.x DEV of img_assist instead of the latest non dev release.