Drupal + TinyMCE

Sharing is Caring

I’ve just really began to try and experiment with using Drupal, modules, and really starting to customize how things work. I have really been playing with open source Content Management Systems off and on over the years because I don’t feel that depending on proprietary CMS is the right approach and definitely rolling your own is not only difficult, but extremely unnecessary. Trevor Twining wrote an excellent blog article regarding using an open source vs proprietary CMS.

While following the steps outlined in the Read Me file for the TinyMCE plugin, I wasn’t able to use it at first because of an error and eventually found the solution here. Basically, the solution is find the following line in modules/tinymce/tinymce.admin.inc:
'#default_value' => isset($edit->rids) ? array_keys((array) $edit->rids) : NULL, and replace it with '#default_value' => isset($edit->rids) ? array_keys((array) $edit->rids) : array(),

Sharing is Caring

Brian is a programmer and technology leader living in Niagara Falls with more than ten years of development experience. He is passionate about automation, business process re-engineering, and building a better tomorrow.

Brian is a proud father of four: two boys, and two girls and has been happily married to Crystal for more than ten years. From time to time, Brian may post about his faith, his family, and definitely about technology.