javascript - Drupal 7, how to push a div below the js files -


i need push div right above end of body tag, there allways scripts above , need below of them tried:

  1. i tried use hook_page_build push them allways comes above js files.
  2. i tried page_alter
  3. i gave 999... weight see if happens nothing
  4. i tryed put in drupal_add_js(' .. '), wrapping them "".

any ideas ?

thank you

a solution use template file https://api.drupal.org/api/drupal/modules!system!html.tpl.php/7 , add div there.

https://www.drupal.org/node/1089656 - generic documentation templates

in case, might copy html.tpl.php sites/all/themes/[yourtheme]/templates/ , modification there have div you'd like. if use sub-theme of main theme, copy html.tpl.php main theme, instead of drupal core.


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -