I am working on Recruiter distribution which uses a Cloudy theme.
I have tried 2 ways to add custom javascript to my site:
1)Adding jquery code to the
.info
file of Cloudy theme(default theme) calledcloudy.js
.2)Adding a new
.js
file underjs/myjs.js
and added this to the.info
file of Cloudy themescripts[] = js/myjs.js
However,when I view the source code of my frontpage, neither cloudy.js
nor myjs.js
is loaded and as a result the jquery code doesn't work.
What am I missing? Has anything to do that it is a distribution and not a drupal site? thanks
.info
?template.php
has usedhook_js_alter
implemented & if array of js is altered. Also checkhtml.tpl.php
for$scripts
variable printed or not.