WYMeditor not showing up

martig - June 12, 2008 - 11:07
Project:WYMeditor
Version:5.x-2.x-dev
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:postponed (maintainer needs more info)
Description

For some reason WYMeditor isn't showing up under the filters. I'm running Drupal 5.7 with jQuery update 2.0 rc1.

#1

magico - June 12, 2008 - 11:10
Status:active» postponed (maintainer needs more info)

Check the following steps:
1. Did you put the module in your modules directory?
2. Did you activate and installed the module?
3. Did it gave you any error, installing the module?
4. List here the input formats available at the "?q=admin/settings/filters"

#2

martig - June 12, 2008 - 11:59

No errors during the installation.
The available input formats are: Filtered HTML, PHP code, Full HTML, Foorum. The last one is a custom filter.

#3

H3rnand3z - June 13, 2008 - 05:22

I do not get the toolbar either. My input formats are Filtered HTML, PHP code, Full HTML and WYMeditor.

#4

magico - June 13, 2008 - 11:29

@H3rnand3z: did you updated your jquery?

#5

H3rnand3z - June 13, 2008 - 16:14

Yeah, First I installed 5.x-2.0-rc1 then I tried 5.x-2.x-dev both times I ran update.php

#6

EllenM1 - June 13, 2008 - 17:47

I killed mine also by attempting to upgrade to the newest version. I upgraded jquery as directed, and have tried both 5.x-2.0 and 5.x-2.x-dev. The module shows up in the admin/build/modules page as enabled. on the admin by module page (admin/by-module), WYMeditor shows up, but the only thing under it is "Configure permissions". And the editor no longer shows up in any node editing screens. Please assist!

I am not sure how to get debugging information out of drupal, but will be happy to try anything you suggest.

Ellen

#7

magico - June 13, 2008 - 18:02

Ok. Give me the versions of the files jquery, wymeditor.module

Also, was this an install from scratch or did you had an older WYMeditor version installed?

#8

gba2008 - June 18, 2008 - 10:20
Version:5.x-2.x-dev» 5.x-2.0

I have the same problem for a new clear installation of WYMeditor.

#9

zmove - June 18, 2008 - 14:51

Same here

  • I installed this module (no wymeditor installation before)
  • I installed the latest version of jquery update and copied the misc folder and replace the files
  • I gives roles in access control page
  • I parameter the wymeditor filter

I have the dropdown input format, but no editor button at all, see my screenshot.

AttachmentSize
bug.png 1.8 KB

#10

zmove - June 18, 2008 - 14:59
Version:5.x-2.0» 5.x-2.x-dev
Category:support request» bug report

Here is a screen of my status report page, you can see that I correctly installed the latest version of jquery...

tested with both 2.0 and 2.x-dev, same problem

AttachmentSize
jquery.png 13.5 KB

#11

Moxide - June 18, 2008 - 19:57

Hello,

have you enabled the search module and is the search box visible when you create or edit a node ?

#12

zmove - June 18, 2008 - 21:19

Hi,

Yes, the search box always displayed in the header of my website.

Is there a conflict with it ?

#13

Moxide - June 19, 2008 - 08:05

I just quickly tested the module, and there is a problem when there is more than one form in a page :
when the WYM's form_alter function is fired several times, the drupal_add_js call which inserts javascript variables is executed several times too, whereas it should be executed only once.

I can't roll a patch for this, but you can try this quick-and-dirty fix:

In the beginning of wymeditor_form_alter function, add :
static $js_settings_inserted;

then replace :
drupal_add_js(array('wymeditor_key' => $key, 'wymeditor_path' => drupal_get_path('module', 'wymeditor')), 'setting');

with :

if (!$js_settings_inserted){
  drupal_add_js(array('wymeditor_key' => $key, 'wymeditor_path' => drupal_get_path('module', 'wymeditor')), 'setting');
  $js_settings_inserted = TRUE;
}

#14

bfelix - June 19, 2008 - 12:47
Component:Code» User interface

I had the exact issues as zmove.

Your quick and dirty solution worked in that the editor toolbar and dropdowns now appear!

Current issues I see:

- Classes dropdown does not appear to function (hovering has no effect) (note there is no small right > indicator so perhaps it thinks itself as empty?)
- Containers dropdown does not reflect the options shown in the admin settings (contains items like H6, Preformatted, etc that are not in admin settngs)
- Making edits to a page SOMETIMES get saved when submitting, other times it does not. I have not pinpointed a pattern here yet.

This is a great editor that I am hoping can help us a lot. Hope this diagnostic info is helpful.

#15

magico - June 19, 2008 - 17:57

@Moxide: thanks for your feedback. By the way, what do you think about the new approach?

The work on this will be returned on the next week.

#16

Noira - August 19, 2008 - 08:31

Exactly the same with me, no buttons showing up.

#17

tristan.oneil - October 8, 2008 - 15:36

The quick and dirty fix seemed to work but why are some people having to "patch" this and other people appear to be having no issues at all.

#18

nextgengames - November 10, 2008 - 20:29

Which file am I supposed to patch cant find that function anywhere?

#19

dyardley - November 15, 2008 - 00:15

wymeditor.module is the file you want to patch. Line 11

#20

Bèr Kessels - December 22, 2008 - 15:56

Having the same issue.
A quick jquery/javascript debugging showed me that Drupal.settings returns wrong values.
instead of Drupal.settings.wymeditor_key returning an integer (e.g. 4) it returned a string, e.g. "4,4".

I am not sure what module or version causes this, but it seems to me that something goes wrong in the creation of the JS variables. They show up in the source as [ 4, 4 ] .

#21

Flying Drupalist - December 25, 2008 - 01:45

#13 doesn't fix it for me unfortunately. I don't see any buttons.

6.x

 
 

Drupal is a registered trademark of Dries Buytaert.