javascript - How to include Custom Js in Bootstrap's custom Sub Theme directory For Drupal 7 -


my custom theme doesn't read javascript file have linked in .info file. paths directory correct. while inspecting page shows default bootstrap script files.

i had exact same problem. workaround include script in html.tpl.php file:

  1. find html.tpl.php under sites > > themes > bootstrap > theme > system.
  2. make copy of file , add custom theme directory (sites > > themes > custom theme).
  3. create folder in custom theme javascript , name js.
  4. add javascript file js folder.
  5. open html.tpl.php file copied custom theme, , insert following line anywhere between tags:
  6. save, flush chache , should go.

Comments

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -