I have created a very simple, custom theme. The TinyMCE editor refuses to show up in it, but it shows up in Garland. I do have a checkmark saying that TinyMCE 3.2.4.1 is installed. I've removed and re-added the Full HTML Wysiwig profile, and I've unchecked almost everything in it. The only items checked are:

  1. Enabled by default
  2. Show enable/disable rich text toggle link
  3. Bold
  4. Italic

I have nothing checked under Cleanup and Output. Editor Appearance is set as follows:

  • Toolbar location: Top
  • Button Alignment: Left
  • Path location: Bottom
  • Enable resizing button: unchecked

Under Input Formats, for Full HTML I have no filters selected, and no users assigned permission. I'm working as administrator.

Just in case there is a caching problem, I installed Cache Disable 6.x-1.0. It didn't make a difference.

This is a new Drupal 6.12 installation. The only other module I have installed is FrontPage.

Does Wysiwyg API need something to be coded into my theme in order to be recognized?

Comments

twod’s picture

Status: Active » Fixed

Wysiwyg API itself does not require anything extra in a theme other than what Drupal already provides.
But you need to make sure you actually use what Drupal provides your theme, in this case the $scripts and $closure variables. (Possibly also $footer.)
See the FAQ on this: http://drupal.org/node/417166#theme-scripts.

Feel free to re-open the issue if you do print these variables in the correct order.

Status: Fixed » Closed (fixed)

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

FranCarstens’s picture

I'm printing scripts at the end of my page as suggested by Yahoo why Slow, which is an accepted method of improving page load times, however, WYSIGIWG API seems to require the script to be printed at the top of the page or it won't load. That's why it's loading in Garland but possibly not in your custom theme.

Ps. Is there anything we can do to change this?