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.
By ericpai on
When I delete "Page requisites" cache, my 2 Javascript files that I use for my home page image rotator get deleted.
Here is how I'm adding the javascript for those 2 files into a WYSIWYG editor with PHP code enabled:
<?
drupal_add_js('sites/default/files/js/jquery.jcarousellite.js');
drupal_add_js('sites/default/files/js/cycle.js');
?>
Some html here for the rotator......
Then I also have some JS code added to the home page only using the js Injector .
Any ideas why this is happening?
thanks