katbailey
commented on
JavaScript the Smart Way - Getting Started with jQueryThere is an error on this slide: when it says themers should make their call to drupal_add_js() from a tpl file, this is incorrect - it is too late at the tpl stage to add the JavaScript because the scripts variable has already been populated. You should call drupal_add_js() from your template.php file.2 years ago
Comments