As titled, the WYSIWYG editor won't show for the body of content type blog. The blog entry content type comes from the blog module. It shows everywhere else, just not in the body field of blog entries. Kind of an urgent issue, any help is appreciated. Thanks.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

suthy’s picture

Priority: Critical » Normal
sun’s picture

Title: WYSIWYG won't show for blog content type » Not showing on blog content-type
Component: Miscellaneous » Code
Category: support » task

The cause is that Blog module in Drupal 5.x is using a unusual (wrong) form element to hold the input format selector.

Not sure how to fix this, needs further analysis.

If you can upgrade to 6.x, that would be recommended. This has been fixed there.

suthy’s picture

thanks for any help. we ended up just switching to the YUI editor

sun’s picture

Category: task » bug
Status: Active » Fixed
FileSize
1.45 KB

Fortunately, this was easy to fix.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

wessex’s picture

Version: 5.x-0.4 » 5.x-1.1

I've just encountered this problem - will this patch still work on 5.x-1.1?

wessex’s picture

Status: Closed (fixed) » Needs review
sun’s picture

Version: 5.x-1.1 » 5.x-0.4
Status: Needs review » Closed (fixed)

This was fixed/committed a long time ago.

elgreg’s picture

Version: 5.x-0.4 » 5.x-1.1
Status: Closed (fixed) » Needs review
FileSize
523 bytes

I also encountered this problem with 5.x.1.1. It was because I'd made my own content type called "blog" instead of using the built-in Drupal Blog module (it seemed like a lot of extra code and I was already using CCK). Choices are to either rename the content type to something besides blog (probably a good idea in case you ever want to enable the blog module in the future) or to patch wysiwyg to check to see if blog is enabled before it goes unsetting and setting things in the form_alter.

sun’s picture

Status: Needs review » Closed (fixed)

Committed without testing. Thanks.

Congrats to your first CHANGELOG.txt entry. :)

wessex’s picture

I've just tried the latest update, 5.x-2.0-alpha1, and still don't get the TinyMCE WYSIWYG editor for the blog content type - it appears fine on all other content types, and I'm stumped.

I'm using the default blog content type and would really appreciate some tips on things to try!

englex’s picture

Version: 5.x-1.1 » 5.x-2.0-alpha1

I had the same problem as wessex, with wysiwyg 5.x-2.0-alpha1 and TinyMCE 3.2.4.1 on a Drupal 5 site. After examining my debug output I could see why the patch code (which is now included in alpha1) does the workaround that it does for blogs, so it didn't make sense why it still wasn't working for blogs, but was fine for other content types.

In the end I resorted to hacking the offending line of blog.module ( $form['body_filter']['filter'] ... ) then commenting out the patch-code from wysiwyg.module, which took all of about 5 minutes and has been working perfectly since.

Not the nice best-practice fix I wanted obviously, but for anyone reading this who is as frustrated as I was then you could try that to get you through, but remember it would be liable to being overwritten by future updates.

goosemagoo’s picture

I had same/similar problem and a lot of searching indicated Imagepicker was the problem. Either disable the whole module or uncheck (in the image picker options) the content types where the problem occurs. Dunno why but works for me.