I have built a theme from scratch, everything is peachy except that modules dependant on javascript do not work...I have:

print $scripts

in my page.tpl.php

The "Chatroom" module and the "Formbuilder" module are both now broken. What am I missing?

Comments

prattboy’s picture

I haven't used those particular modules, but I had a similar problem with a Javascript related module. The solution in my case was to make sure I had

<?php print $closure ?>

just before the closing body tag in in page.tpl.php. I can't guarantee that will work but it's worth a shot.

descendingzen’s picture

I got this working eventually...I had accidently left out:

print $head

in the "head" of the document. Yup...