Right now it is like this.
I have removed the $SilverStripeNavigator from the page type, but I hope for another way to solve it.
<!DOCTYPE html>
<html lang="sv" xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
<% base_tag %>
<title><% if MetaTitle %>$MetaTitle<% else %>$Title<% end_if %> » $SiteConfig.Title</title>
$MetaTags
<link rel="shortcut icon" href="$ThemeDir/images/favicon.ico" ></link>
<script type="text/javascript" src="mysite/javascript/jquery-1.2.2.pack.js"></script>
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Droid+Serif:regular,italic,bold,bolditalic" type="text/css"></link>
<% require themedCSS(typography) %>
<% require themedCSS(layout) %>
<% require themedCSS(form) %>
<% require themedCSS(homepage) %>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
<script type="text/javascript" src="$ThemeDir/scripts/hover.js"></script>
<script type="text/javascript" src="mysite/javascript/facebox.js" ></script>
<link rel="stylesheet" type="text/css" href="mysite/css/facebox.css" media="screen" ></link>
<script type="text/javascript">
jQuery(document).ready(function($) {
$('a[rel*=facebox]').facebox()
})
</script>
<!-- For homepage carousel -->
<link rel="stylesheet" href="$ThemeDir/css/feature-carousel.css" charset="utf-8" ></link>
<script src="$ThemeDir/scripts/jquery-1.5.1.min.js" type="text/javascript" charset="utf-8"></script>
<script src="$ThemeDir/scripts/jquery.featureCarousel.min.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
$(document).ready(function() {
$("#carousel").featureCarousel({
// include options like this:
// (use quotes only for string values, and no trailing comma after last option)
// option: value,
trackerIndividual: false,
trackerSummation: false,
topPadding:5,
captionBelow: false
});
});
</script>
</head>
No file is missing, as far as I can see in firebug.
Thanks!