I always put it in my 'footer.php' file, right before the tag, where I put most of my scripts. Putting it at the end let's you load scripts after everything else, instead of holding up the rendering of the rest of the page. Though I know that's not really necessary thanks to some great HTML5 attributes for script tags, I am still in the habit. I see no reason to include it as an external file. And I include my footer.php file in every page on most sites, anyway. But if I wasn't building a website in pieces like that, and each page had it's own footer, I guess I would consider an external file to make it easier than pasting it on every page.
Shane Lessard
Posts
-
Google Analytics Question -
I'm looking for a good crash course on Drupal for Wordpress developersI've been working with wordpress for awhile and know it fairly well. I HAVE used drupal, but not much. It's rare that I get a client that wants to spend the extra cash on a drupal website, because I generally have clients that don't have a need for the extra scalability or security. And the ones that DO want something other than wordpress usually want something custom from the ground up (which is always a lot more fun). I have a job interview coming up for a position I'm very interested in, and it requires working with multiple drupal websites. While in the first interview I was told it's not important to know it thoroughly, since he knew I had a lot of experience with wordpress. But I'd love to spend some time learning as much about it as I can in a week or so, just to improve my chances a bit. The less I have to learn on the job, the better. I'm pretty good with PHP programming, better with Javascript, HTML5 and CSS, and I've used Wordpress quite a bit. Though I'm a bit new at plugin development (not that it's challenging, I just haven't had much of a reason to learn it yet, so I've only looked at it when business is slow). Given my current experience level and familiarity with similar CMS, does anybody know of a good tutorial or course that could get me familiar with the inner workings of drupal quickly? Books are a bit out of the question. I'll buy a couple if I get the job, but I'd rather not wait for them to be shipped and I always have a hard time finding good books in stores.