Closed (fixed)
Project:
Corporate Clean
Version:
7.x-1.4
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Issue tags:
Reporter:
Created:
15 May 2012 at 16:56 UTC
Updated:
4 Jan 2014 at 02:05 UTC
Jump to comment: Most recent
Comments
Comment #1
nevets commentedIt is now in html.tpl.php. You can add js files using drupal_add_js(), 'scripts' in .info files or '#attached' in forms using the Form API
Comment #2
gtsopour commentedHello SocialNicheGuru,
As nevets already said, $scripts (script tags necessary to load the JavaScript files and settings for the page) are loaded through html.tpl.php http://api.drupal.org/api/drupal/modules!system!html.tpl.php/7
If you need to override this template, you should copy html.tpl.php from modules/system/html.tpl.php to your theme directory (sites/all/themes/corporateclean) and clear the cache.
Especially for the CorporateClean theme, extra Javascript functions are loaded through template.php (sites/all/themes/corporateclean/template.php) file using drupal_add_js() function.
Thanks
/George