I wanted to use TinyMCE in a 6.x installation and so started creating a patch to do so.
The patch is attached and gets us almost all of the way there--the module installs and you can add and edit profiles. You may have to 'touch tinymce.schema' in your modules/tinymce directory to get the patch to apply cleanly as this file did not exist in the previous version. This is a patch against 5.x-1.9.
It does not, however, currently show up on textareas on the node/user/etc. edit pages yet. I may have time in the next week to investigate further.
I used the "Coder" module to ensure that the code was in compliance with the Drupal spec.
Comments
Comment #1
murzsubscribed
Comment #2
rkendall commentedsubscribe
Comment #3
kreynen commentedWith Drupal 6 RC1 coming this week, getting TinyMCE updated for 6 is a top priority... unfortunately one of many. I'm starting a thread about this at http://groups.drupal.org/tinymce-development
Comment #4
techczech commentedsubscribe
Comment #5
IcyAndy commentedsubscribe
Comment #6
domasj commentedI also tried to do some porting. The results:
However, there are some problems.
Comment #7
Jamie Holly commentedsubscribe
Comment #8
charles_elwood commentedsubscribe
Comment #9
kpaul commentedbumping with the recent release of D6...
I have a little time and could do testing...
Comment #10
Steve Dondley commentedSo we have two patches. Do we apply the first one and then the second? Someone needs to coordinate these efforts.
Comment #11
Steve Dondley commentedAlso, I just found a bug in the tarball that was uploaded. So where is the best way to submit this patch?
I think whoever is in charge of this module needs to start a drupal6 branch and post it here so it can be worked on collaboratively.
Comment #12
modoq commentedsubscribe
Comment #13
kckern commentedHow do I apply the patch without command line access?
Comment #14
keesje commentedsubscribing
Comment #15
Anonymous (not verified) commentedComment #16
simontol commentedThat's the reason stopping me from upgrade to 6.x
Comment #17
ekendra commentedsubscribing
Comment #18
fm commentedsubscribed.
Comment #19
ilbeppe commentedsubscribed
Comment #20
gellpak commentedsubscribe
Comment #21
Wutimer commentedSubscribed.
Comment #22
Devis commentedsubscribe
Comment #23
sdub commentedsubscribe
Comment #24
Anonymous (not verified) commentedis there already a view about the date that the module will be ported to drupal 6.1?
Comment #25
boris mann commentedAaargh on all the subscribes :P
Please do no set to critical -- this is not a bug, it's a feature. We have a couple of patches, please test and provide feedback.
I see multiple maintainers listed but looks like folks are out of time. I will have my team do some testing and see if we have resources to work on a port.
Comment #26
wildtang3nt commentedsubscribe
Comment #27
dropcube commentedsubscribing
Comment #28
anuradha-1 commentedsubscribe
Thanks Boris for looking into the further development of the patches.
Comment #29
mikeryanSubscribe
Comment #30
-hgn- commentedVery important update
bump
Comment #31
piero.giobbi commentedHi.
how do you apply the patch?
thx
Comment #32
dropcube commentedRead about on the handbook pages http://drupal.org/patch/apply
Comment #33
janeri commentedSubscribe
Comment #34
akie commentedHi. I've ported TinyMCE to Drupal 6. It took me over two days to fix it, but it does work now.
You can download it at http://akie.nl/2008/03/16/tinymce-for-drupal-6/
Basic functionality works for both TinyMCE 2 and TinyMCE 3. TinyMCE 2 is preferred though, since the DrupalBreak-button doesn't work on TinyMCE 3. Can someone please take a look at that? If we fix that, we'll finally have a decent editor for Drupal 6.
Anyway, good luck with this. Please leave a comment at the link above if you like it or dislike it.
Hope this helps,
Akie
Comment #35
ekendra commentedbump-a-luff-a-gus-!!
Comment #36
Anonymous (not verified) commentedHere are my results after a quick test of Akie's code (I tested this in Drupal 6.1 using TinyMCE 2.1.3):
- Getting this warning message on the TinyMCE error page when creating a new profile (doesn't occur when editing a profile).
warning: Invalid argument supplied for foreach() in /var/www/local.sandbox.com/htdocs/drupal-6.1/includes/form.inc on line 1181.
- The default state option doesn't seem to have any weight on whether TinyMCE is run. Everytime I create a new page, TinyMCE is shown without an option to disable it.
- Other than those two issues, everything I was able to test in the matter of 15 minutes has worked fine and I will most likely use this for one of my clients (they won't need to disable the WYSIWYG).
Thanks for putting this together and hope those issues can get figured out soon!
Comment #37
owen barton commentedSubscribe
Comment #38
ogi commentedsubscribe
Comment #39
physiotek commentedsubscribing
Comment #40
alaa commentedhere is another patch this one works fine but requires some cleanup to split code into multiple files and either remove or work with drupal's teaser splitter.
IMO it needs a rewrite, the code is a mess.
Comment #41
xcorex commentedsubscribing
Comment #42
izmeez commentedI have installed TinyMCE for Drupal 6.x as described by Akie.
After enabling the module and going to Administer>Site configuration>TinyMCE>Add new profile, I get the message:
warning: Invalid argument supplied for foreach() in \drupal\includes\form.inc on line 1181.
which has been described before by klamping.
Is this new patch file from alaa for that release or is this another patch file?
Should I apply this patch or just go ahead and use the release as it is?
Thanks for the help.
Izzy
Comment #43
alaa commentedizmeez the patch I posted on #40 is a separate patch and has nothing to do with Akie's module.
Comment #44
yogi_sydbma commentedit wont work for me.
Including the project notes etc...
its there under profiles but it wont show.. it tells me that the tiectory is missing.. but its there.
Comment #45
John_0 commentedsubscribe
Comment #46
kreynen commentedI've created a release from Akie's updates and installed the release as a demo at http://tinymce-dev.sidewalktheory.com/. Please submit new issues and patches for the 6.x version. Closing this thread.
Comment #47
izmeez commentedalaa thanks for the clarification. I came to that realization my self as I saw the link for the akie release also has discussion further down on that web page.
Izzy