This project is read-only.

Add script link to head in Orchard CMS ?

Topics: Customizing Orchard
Nov 11, 2013 at 1:51 AM
Edited Nov 11, 2013 at 3:14 AM
Hi everyone,

I would like to add <script src="/OrchardLocal/Themes/Metro/Scripts/metro-js/js/jquery/jquery.widget.min.js"></script> to <head> but it doesn't work. My full code:
@using (Script.Head()) {
<script src="@Url.Content("~/OrchardLocal/Themes/Metro/Scripts/metro-js/js/jquery/jquery.widget.min.js")"    type="text/javascript"></script>

how to fix ? and why i add file css contained by Scripts folder so it also doesn't work ?

Thank you very much.

Nov 11, 2013 at 7:24 AM
How does it not work? And didn't you ask the exact same question somewhere else?