{"action":"created","issue":{"url":"https://api.github.com/repos/concrete5/concrete5/issues/1969","labels_url":"https://api.github.com/repos/concrete5/concrete5/issues/1969/labels{/name}","comments_url":"https://api.github.com/repos/concrete5/concrete5/issues/1969/comments","events_url":"https://api.github.com/repos/concrete5/concrete5/issues/1969/events","html_url":"https://github.com/concrete5/concrete5/issues/1969","id":57918112,"number":1969,"title":"JQuery in footer","user":{"login":"bartvtende","id":6716338,"avatar_url":"https://avatars.githubusercontent.com/u/6716338?v=3","gravatar_id":"","url":"https://api.github.com/users/bartvtende","html_url":"https://github.com/bartvtende","followers_url":"https://api.github.com/users/bartvtende/followers","following_url":"https://api.github.com/users/bartvtende/following{/other_user}","gists_url":"https://api.github.com/users/bartvtende/gists{/gist_id}","starred_url":"https://api.github.com/users/bartvtende/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartvtende/subscriptions","organizations_url":"https://api.github.com/users/bartvtende/orgs","repos_url":"https://api.github.com/users/bartvtende/repos","events_url":"https://api.github.com/users/bartvtende/events{/privacy}","received_events_url":"https://api.github.com/users/bartvtende/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/concrete5/concrete5/labels/severity:very%20low","name":"severity:very low","color":"c7def8"},{"url":"https://api.github.com/repos/concrete5/concrete5/labels/status:under%20discussion","name":"status:under discussion","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-17T12:26:04Z","updated_at":"2015-10-15T14:57:07Z","closed_at":null,"body":"I was wonder why the choice has been made to place the JQuery in the header. I understand that the site breaks when the JQuery is in the footer, but why hasn't it concrete5.7 been made to support this? I am asking this because Google Page Speed doesn't like the current solution. Do you guys maybe have plans in the future to support placing JQuery in the footer?\r\n\r\nMany thanks in advance!"},"comment":{"url":"https://api.github.com/repos/concrete5/concrete5/issues/comments/148411766","html_url":"https://github.com/concrete5/concrete5/issues/1969#issuecomment-148411766","issue_url":"https://api.github.com/repos/concrete5/concrete5/issues/1969","id":148411766,"user":{"login":"mattrice","id":3780536,"avatar_url":"https://avatars.githubusercontent.com/u/3780536?v=3","gravatar_id":"","url":"https://api.github.com/users/mattrice","html_url":"https://github.com/mattrice","followers_url":"https://api.github.com/users/mattrice/followers","following_url":"https://api.github.com/users/mattrice/following{/other_user}","gists_url":"https://api.github.com/users/mattrice/gists{/gist_id}","starred_url":"https://api.github.com/users/mattrice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattrice/subscriptions","organizations_url":"https://api.github.com/users/mattrice/orgs","repos_url":"https://api.github.com/users/mattrice/repos","events_url":"https://api.github.com/users/mattrice/events{/privacy}","received_events_url":"https://api.github.com/users/mattrice/received_events","type":"User","site_admin":false},"created_at":"2015-10-15T14:57:07Z","updated_at":"2015-10-15T14:57:07Z","body":"Has there been any further discussion on this issue? I ask because our custom theme includes jQuery in the footer (when not in edit mode) and trying to do things like [including tabbed content](https://www.concrete5.org/documentation/how-tos/developers/using-tabbed-panels-in-concrete5-5.7/) injects Javascript inline that assumes jQuery is already loaded.\r\n\r\nSpecifically, the Core::make function outputs HTML like this:\r\n\r\n```\r\n<ul class=\"nav-tabs nav\" id=\"ccm-tabs-814969796\" style=\"display: block;\"><li class=\"active\"><a href=\"#\" data-tab=\"tab-55251\">A Tab</a></li><li class=\"\"><a href=\"#\" data-tab=\"tab-55252\">B Tab</a></li><li class=\"\"><a href=\"#\" data-tab=\"tab-55253\">C Tab</a></li></ul>\r\n<script type=\"text/javascript\">$(function() { ccm_activateTabBar($('#ccm-tabs-814969796'));});</script>\r\n```\r\n\r\nThe oddity here is that jQuery is included in <head> when logged in, so the page will work for logged in users, but break for non-logged in users."}}