Hello All,

Apperently, the theme Chameleon doesn't display the Simplmenu module: http://drupal.org/node/143130

Before I go mucking around in the theme template file, has anybody already got a code snippet that could solve this problem?

Thanks in advance!

Jeremy

Comments

motin’s picture

I'll save you those 15 minutes:

The solution is more or less a one-liner:

Add these lines:

  // Needed for chameleon theme to include SimpleMenu js+css
  $variables = array(
    'closure'             => theme('closure'),
  );

just above:

  $output  = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n";
  $output .= "<html xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"$language\" xml:lang=\"$language\">\n";

in chameleon.theme (= just above Line 39).

Cheers,

Fredrik

glass.dimly’s picture

Fredrik,

Thanks! Though, for me, it would have been much longer than 15 minutes! ;^)

Jeremy