Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
drupal_get_js() inserts only header javascripts by default.
print.pages.inc, line 175
$print['scripts'] = drupal_get_js();
$print['scripts_footer'] = drupal_get_js('footer'); // footer js
In print.tpl.php add
<?php print $print['scripts_footer']; ?>
Comments
Comment #1
jcnventura CreditAttribution: jcnventura commentedThanks for the (quasi-) patch. I've committed it to git.