I've got the newest from 4.7 and it lets me set up profiles and everything but the editor disappears when I click edit on a page. I don't s4ee any javascript errors or anything. Not sure where it went.

CommentFileSizeAuthor
#4 fix-body-detection.patch2.04 KBMoxide

Comments

Moxide’s picture

Hello,

What kind of node are you creating ? Is it a page, story or another content type ?

Regards.
Moxide

Nathan005’s picture

I think I get the same problem. I am using durpal 5.1

I'm trying to edit a page, its already been made.
when I click to edit the wymeditor shows up then dissapears and gives me the standard html.

Nathan005’s picture

note: by page i mean node type page

Moxide’s picture

Title: Wysiwyg disappears » WYMeditor does not show up when editing a node
Version: 4.7.x-2.x-dev » 5.x-1.x-dev
Status: Active » Needs work
StatusFileSize
new2.04 KB

Hello,
I can't reproduce that one, but it may be a problem with body textarea detection.
Could you please test the attached patch (for 5.1 version) ?

Nathan005’s picture

sorry could you point me to where i can find how to apply the patch
what I tried didn't work (replaced the .module code with the patch code)
Thanks

Moxide’s picture

You must download and use a command line utility named "patch".
Everything is explained here : http://drupal.org/patch/apply

Nathan005’s picture

I applied the Patch but it did not resolve the issue.

It was working before I updated to the 4-23 version (I downloaded it on 4-03ish)

I've replicated the error on 3 different sites now (including a localhost)

I set up the local host the same as my webserver
(MySQL 4.1.20 and phpMyAdmin2.8.2.4) - a little old I know

Then I installed the same modules
(autologout - fckeditor - jstools - slideshow_creator - spamspan - views - wymeditor)

if you want to view the error for yourself you can log in to a test site I set up (does not have the patched file, if you want it can...)
www.365concord.com/drupal
login by clicking the key in the bottom right (username:test pw:test) then go to
www.365concord.com/drupal/test
its the only page you can edit have fun
I'll delete it in 24 hours or after a valid responce

-different error but it also adds "strong class=myclass" tags to one of my other pages
I used the tag 2 times in the page but it added it like 6 times and moved my closing tags - quite annoying

Moxide’s picture

I checked your test site and WYMeditor does not trigger at all.

Before going any further, could you please check the following :

  • the 'test' user has 'access WYMeditor' right (in user management, access control)
  • you have create a profile in WYMeditor's settings

Thanks.

Nathan005’s picture

sorry I was testing multiple editors and didn't leave this one on last.

Creating a profile has fixed the issue.
Sorry, I had one. It must have got deleted when I updated an I didn't make it again

I don't see a way to restrict a profile to a role or user... is there a way

Thanks for you help...Keep up the good work

Moxide’s picture

Status: Needs work » Closed (fixed)

No problem ;-)
The 'profile per role' feature is not implemented yet, but will be soon.

Regards.
Moxide