drupal_add_js('http://partner.googleadservices.com/gampad/google_service.js', array('type' => 'external', 'scope' => 'header')) is not working on omega 4. It includes the javascript in html body, same sentence works perfectly on Bartik. Some third part modules like google_admanager doesn't work with omega 4 because this.

Comments

fubhy’s picture

Version: 7.x-4.0-alpha7 » 7.x-4.x-dev

Damnit, I knew this would happen one day... Alright.. So what we will do is we will change this feature to something more in-line with the exclude css/js feature where you can explicitly specify the js files that you want to place in the footer.

I'm on it.

fubhy’s picture

Title: drupal_add_js is not including javascript in header » Change the 'Render JavaScript in the Footer' to require candidate .js files to be explicitly specified.
fubhy’s picture

Status: Active » Fixed

Ok.. Should be fixed now. But you need to specify JS files that you want to move to the footer now manually :)

http://drupalcode.org/project/omega.git/commit/8b8cf94

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.