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:
- i tried use hook_page_build push them allways comes above js files.
- i tried page_alter
- i gave 999... weight see if happens nothing
- 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
Post a Comment