3

I am working on a re-work of Drupalerp (D6), as I found so many problems with it...but have run into an odd issue. As drupalerp creates it's extra content types programatically, I am unsure if it is doing it correctly. For content types created in the GUI, the Drupal way, I can get the Wysiwyg to appear.

In the node_type table the drupal nodes that work have 'node' in the module column, and has_body = 1. The erp ones have their individual module names instead of 'node'. If I switch the module to node for those ones, I get wysiwyg, but of course lose the custom programmed handling of those types.

So my question is, does that have to be 'node' in the module column of node_type in order to get wysiwyg, or is there another element missing from the programming of those custom types?

2
  • What kind of wysiwyg module are you using? wysiwyg.module depends on the input type but others allow to configure it based on the textarea name/id. – Berdir Jul 6 '11 at 14:37
  • Yes, was using the Wysiwyg.module...it obviously needs to be running through the node module. I have ditched Wysiwyg/tinyMCE, and gone to straight CKEDITOR which works! – Onyx Jul 6 '11 at 21:08
0

Using the CKeditor module, you can apply the editor to any textarea on the site. However, it doesn't apply this by default. You have to set up the settings to either appear on ALL textareas or selected ones only.

Underneath every textarea, it gives you an element ID which you can use to isolate specific ones and get the editor to appear.

Assuming you're using CKeditor of course. :o)

2
  • I have ditched Wysiwyg/tinyMCE, and gone to straight CKEDITOR which works! – Onyx Jul 6 '11 at 21:09
  • Good stuff... I really like the Wysiwyg module, but tinyMCE is rubbish! – thatboyjim Jul 6 '11 at 22:43
0

I know that wysiwyg is related to input filters, are these available on the body (if there is one) of the custom nodes?

1
  • yeah, good call...but yes they are all set to use Full HTML. I put the Better Formats module in to make sure that was the case, too. I'm thinking I probably need to start picking apart an existing 3rd-party module that does let the wysiwyg work, to see what is different architecturally. – Onyx Jul 6 '11 at 8:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.