Create Content has two textarea boxes after widgEditor installation - FIXED

fiprojects - March 24, 2007 - 17:22
Project:widgEditor - A WYSIWYG editor
Version:5.x-1.x-dev
Component:User interface
Category:support request
Priority:normal
Assigned:fiprojects
Status:duplicate
Description

Hi,

I am new to Drupal - I installed 5.1 from scratch and have two environments - the first is plain vanilla installation with the update module and widgEditor, and it appears to work fine (low number of users).

The second environment has CCK, Views and widgeEditor modules... It is my development environment so that I can try out various modules and see what I like - I don't mind dropping the database of my development environment and restarting from scratch... no users other than Administrator.

I test changes with Firefox (latest release) and IE7.

When I Create Content (any type of content). I get two textarea boxes (I have widgeEditor turned on by default thus I end up with double bold buttons, double everything including input box).

The data input into the second box is the one that is saved. This problem happens more often than not even if I log out, clear my cache or force refresh my page... And I have seen the problem turn up with Firefox and IE7.

Note I have a seperate problem which might or might not be related.

Sometimes when i submit content I am greeted with a blank page. View Source shows me HTML but nothing physically appears in the client... Unless i force a refresh. The source has the opening and closing HTML /HTML tags so I would make the assumption that other code has been sent correctly in the middle. Note, I do not get any output on the client. Since I do not have CCK or Views installed here, it tells me the problem must be widgEditor because this latter problem only appears when I have widgeEditor installed and enabled by default. I will raise a seperate 'issue' for this.

Anyone have any ideas? I can share screen shots with whoever is interested.

Cheers!

AttachmentSize
my-drupal-view.gif72.23 KB

#1

merlinofchaos - March 24, 2007 - 18:02
Status:active» won't fix

I don't see how any of this has anything to do with Views, which has absolutely nothing at all to do with the create content system OR text areas. It seems likely that all of this should properly go against widgEditor (which I've never heard of and I don't immediately see a project by that name, so I can't simply refile this issue. Please feel free to refile the issue to the proper project).

#2

fiprojects - March 25, 2007 - 19:31

http://drupal.org/project/widgeditor

Does this clarify the confusion?

#3

jphelan - March 27, 2007 - 19:02
Project:Views» widgEditor - A WYSIWYG editor
Version:5.x-1.x-dev» 5.x-1.x-dev
Status:won't fix» active

i have the same problem when widgeditor is enabled by default, else it seems to work fine

#4

Gurpartap Singh - March 30, 2007 - 09:47
Status:active» duplicate

http://drupal.org/node/109208

#5

fiprojects - March 31, 2007 - 11:20
Title:Create Content has two textarea boxes after widgEditor installation» Create Content has two textarea boxes after widgEditor installation - FIXED

Thanks for the fix - it worked for me... until there is a patch released, this is what I did:

in /modules/widgeditor/scripts/widgEditor.js

I changed line 164 from

widgInit();

to have two preceeding slashes (it is a method of inserting remarks into javascript)... so the result is

// widgInit();

If you're anyway unsure, look for function run() and you will find widgInit() appear on the line below oldOnLoad();

Thanks for the help!

 
 

Drupal is a registered trademark of Dries Buytaert.