- Accessibility
- Actions
- Blog
- Bootstrap
- Calendar
- Code Snippets
- Core Hacks
- Cron
- Development Environment
- Drupal 7
- Flash
- Forms
- Goodies
- Hooks
- Hosting
- Images
- Installation, Updating and Moving
- Internationalization
- Javascript/JQuery
- Learning Drupal (New Users)
- Login/User Management/Permissions
- Logs
- Menus
- Modules
- Nodes
- Paths
- Performance
- RSS
- Reference Sites
- Registry
- Reporting
- Reporting Bugs/Issues
- SEO
- Schema
- Search
- Security
- SimpleTest
- Sites
- Support
- Testing
- Themes
- Troubleshooting
- Upgrading
- User Groups
- Workflow
Submitted by captaindav on Fri, 2009-07-24 01:44
By default, Drupal Version 6 looks for a file called scripts.js in the main theme directory. However, it is recommended not to count on this automatic behavior, but rather to specify each script needed by the theme by placing the following setting in the theme's [theme-name].info file:
scripts[] = scripts.js
Be sure to clear the theme cache by going to Administer > Site building > Themes (admin/build/themes) and re-save the page to refresh the .info file cache.
scripts[] = scripts.js
Be sure to clear the theme cache by going to Administer > Site building > Themes (admin/build/themes) and re-save the page to refresh the .info file cache.