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.
Just looked through the source of the theme that the end-user sees... From what I can tell, Danland has the following in the head section:
<head profile="http://www.w3.org/1999/xhtml/vocab">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="http://localhost.example.com/projects/example/sites/example.com/themes/example/favicon.ico" type="image/vnd.microsoft.icon" />
<meta name="Generator" content="Drupal 7 (http://drupal.org)" />
<title>Welcome to www.example.com | www.example.com</title>
<style type="text/css" media="all">
@import url("http://localhost.example.com/projects/example/modules/system/system.base.css?mc2bfe");
@import url("http://localhost.example.com/projects/example/modules/system/system.menus.css?mc2bfe");
@import url("http://localhost.example.com/projects/example/modules/system/system.messages.css?mc2bfe");
@import url("http://localhost.example.com/projects/example/modules/system/system.theme.css?mc2bfe");
</style>
<style type="text/css" media="all">
@import url("http://localhost.example.com/projects/example/misc/ui/jquery.ui.core.css?mc2bfe");
@import url("http://localhost.example.com/projects/example/misc/ui/jquery.ui.theme.css?mc2bfe");
@import url("http://localhost.example.com/projects/example/modules/overlay/overlay-parent.css?mc2bfe");
</style>
<style type="text/css" media="all">
@import url("http://localhost.example.com/projects/example/modules/aggregator/aggregator.css?mc2bfe");
@import url("http://localhost.example.com/projects/example/modules/book/book.css?mc2bfe");
@import url("http://localhost.example.com/projects/example/modules/comment/comment.css?mc2bfe");
@import url("http://localhost.example.com/projects/example/modules/field/theme/field.css?mc2bfe");
@import url("http://localhost.example.com/projects/example/modules/node/node.css?mc2bfe");
@import url("http://localhost.example.com/projects/example/modules/search/search.css?mc2bfe");
@import url("http://localhost.example.com/projects/example/modules/user/user.css?mc2bfe");
@import url("http://localhost.example.com/projects/example/modules/forum/forum.css?mc2bfe");
</style>
<style type="text/css" media="all">
@import url("http://localhost.example.com/projects/example/sites/example.com/themes/example/style.css?mc2bfe");
@import url("http://localhost.example.com/projects/example/sites/example.com/themes/example/local.css?mc2bfe");
</style>
<!--[if IE 6]>
<link type="text/css" rel="stylesheet" href="http://localhost.example.com/projects/example/sites/example.com/themes/example/style.ie6.css?mc2bfe" media="all" />
<![endif]-->
<script type="text/javascript" src="http://localhost.example.com/projects/example/misc/jquery.js?v=1.4.4"></script>
<script type="text/javascript" src="http://localhost.example.com/projects/example/misc/jquery.once.js?v=1.2"></script>
<script type="text/javascript" src="http://localhost.example.com/projects/example/misc/drupal.js?mc2bfe"></script>
<script type="text/javascript" src="http://localhost.example.com/projects/example/misc/ui/jquery.ui.core.min.js?v=1.8.7"></script>
<script type="text/javascript" src="http://localhost.example.com/projects/example/misc/jquery.ba-bbq.js?v=1.2.1"></script>
<script type="text/javascript" src="http://localhost.example.com/projects/example/modules/overlay/overlay-parent.js?v=1.0"></script>
<script type="text/javascript" src="http://localhost.example.com/projects/example/sites/example.com/themes/example/scripts/jquery.cycle.all.js?mc2bfe"></script>
<script type="text/javascript" src="http://localhost.example.com/projects/example/sites/example.com/themes/example/scripts/hoverIntent.js?mc2bfe"></script>
<script type="text/javascript" src="http://localhost.example.com/projects/example/sites/example.com/themes/example/scripts/superfish.js?mc2bfe"></script>
<script type="text/javascript" src="http://localhost.example.com/projects/example/sites/example.com/themes/example/scripts/custom.js?mc2bfe"></script>
<script type="text/javascript">
<!--//--><![CDATA[//><!--
jQuery.extend(Drupal.settings, {"basePath":"\u002Fprojects\u002Fexample\u002F", "pathPrefix":"", "ajaxPageState":{"theme":"example", "theme_token":"zjJdAMQG0cCRQnNkXV-VWudXYqqv5hebYPYnqA7NgBo", "js":{"misc\u002Fjquery.js":1, "misc\u002Fjquery.once.js":1, "misc\u002Fdrupal.js":1, "misc\u002Fui\u002Fjquery.ui.core.min.js":1, "misc\u002Fjquery.ba-bbq.js":1, "modules\u002Foverlay\u002Foverlay-parent.js":1, "sites\u002Fexample.com\u002Fthemes\u002Fexample\u002Fscripts\u002Fjquery.cycle.all.js":1, "sites\u002Fexample.com\u002Fthemes\u002Fexample\u002Fscripts\u002FhoverIntent.js":1, "sites\u002Fexample.com\u002Fthemes\u002Fexample\u002Fscripts\u002Fsuperfish.js":1, "sites\u002Fexample.com\u002Fthemes\u002Fexample\u002Fscripts\u002Fcustom.js":1}, "css":{"modules\u002Fsystem\u002Fsystem.base.css":1, "modules\u002Fsystem\u002Fsystem.menus.css":1, "modules\u002Fsystem\u002Fsystem.messages.css":1, "modules\u002Fsystem\u002Fsystem.theme.css":1, "misc\u002Fui\u002Fjquery.ui.core.css":1, "misc\u002Fui\u002Fjquery.ui.theme.css":1, "modules\u002Foverlay\u002Foverlay-parent.css":1, "modules\u002Faggregator\u002Faggregator.css":1, "modules\u002Fbook\u002Fbook.css":1, "modules\u002Fcomment\u002Fcomment.css":1, "modules\u002Ffield\u002Ftheme\u002Ffield.css":1, "modules\u002Fnode\u002Fnode.css":1, "modules\u002Fsearch\u002Fsearch.css":1, "modules\u002Fuser\u002Fuser.css":1, "modules\u002Fforum\u002Fforum.css":1, "sites\u002Fexample.com\u002Fthemes\u002Fexample\u002Fstyle.css":1, "sites\u002Fexample.com\u002Fthemes\u002Fexample\u002Flocal.css":1, "sites\u002Fexample.com\u002Fthemes\u002Fexample\u002Fstyle.ie6.css":1}}, "overlay":{"paths":{"admin":"user\u002F*\u002Fopenid\u000Auser\u002F*\u002Fopenid\u002Fdelete\u000Aoverlay\u002Fdismiss-message\u000Aadmin\u000Aadmin\u002F*\u000Abatch\u000Ataxonomy\u002Fterm\u002F*\u002Fedit\u000Auser\u002F*\u002Fcancel\u000Auser\u002F*\u002Fedit\u000Auser\u002F*\u002Fedit\u002F*", "non_admin":"admin\u002Fstructure\u002Fblock\u002Fdemo\u002F*\u000Aadmin\u002Freports\u002Fstatus\u002Fphp"}, "pathPrefixes":[ ], "ajaxCallback":"overlay-ajax"}});
//--><!]]>
</script>
</head>
My questions:
1.) What does the "?mc2bfe" represent?
2.) Are all the embeddings (i.e. - STYLE and SCRIPT) really necessary? If not, what would be the first step in removing the ones that are not needed?
I love the Danland theme--just curious about some of how this has all changed between 6.x and 7.x.
Any insight into this is appreciated.
Comments
Comment #1
Wolf_22 CreditAttribution: Wolf_22 commentedBump?