AJAX & Themes

Serendipity is great, or maybe this is karma. I've been catching up on my Drupal mailing list reading. Caught an issue in the support forum I knew something about and my have been able to help someone, then saw the answer to a question I'd been meaning to investigate! Cool.

My personal/play site, Digital Doodles, has a custom theme, so I'm on the hook for updating it. When I upgraded to Drupal 5 I didn't get the AJAX goodness. I was fairly positive it was something simple I needed to add, and so it was. All I needed was: <?php print $scripts ?> in the head tag of page.tpl.php.

This:

    <head>
      <title><?php print $head_title ?></title>
      <?php print $head ?>
      <?php print $styles ?>
      <script type="text/javascript"><?php /* Needed to avoid Flash of Unstyle 
                                              Content in IE */ ?> </script>
    </head>
Became this:
    <head>
      <title><?php print $head_title ?></title>
      <?php print $head ?>
      <?php print $styles ?>
      <?php print $scripts ?>
      <script type="text/javascript"><?php /* Needed to avoid Flash of Unstyle 
                                              Content in IE */ ?> </script>
    </head>

Collapsing field sets I can take or leave, but the auto-suggesting tag field was missed.