Skip to content

Instantly share code, notes, and snippets.

@jubalm
Created September 19, 2012 03:55
Show Gist options
  • Save jubalm/3747595 to your computer and use it in GitHub Desktop.
Save jubalm/3747595 to your computer and use it in GitHub Desktop.
magento - external javascript in cms
<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.7.1/jquery.min.js"></script>
<script type="text/javascript">jQuery.noConflict()</script>
]]>
</text>
</action>
</block>
</reference>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment