After using local.xml to add stylesheets and js like so:
<?xml version="1.0"?>
<layout>
<default>
<reference name="head">
<block type="core/text" name="google.cdn.jquery">
<action method="setText">
<text><![CDATA[<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script><script type="text/javascript">jQuery.noConflict();</script>]]>
</text>
</action>
<action method="setText">
<text><![CDATA[<link rel="stylesheet" href="//css.cdn.tl/normalize.css">]]>
</text>
</action>
<action method="setText">
<text><![CDATA[<link rel="stylesheet" href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/css/bootstrap-combined.min.css">]]>
</text>
</action>
</block>
<action method="addItem">
<type>skin_css</type>
<name>css/bootstrap.css</name>
</action>
<action method="addItem">
<type>skin_css</type>
<name>css/layout.css</name>
</action>
<action method="addItem">
<type>skin_js</type>
<name>js/script.js</name>
</action>
</reference>
</default>
</layout>
I find several problems.
In the "Block" portion of the code, only the last action is used. Why does that happen?
On the page source, my default styles.css is inserted before my other css files. I was hoping to have style.css be the last css file on my page. How to fix this issue?
My jQuery is loaded after my default script.js. How can the order be reversed?