Erick Garcia
Erick Garcia

Reputation: 842

Using Script.Head() in Orchard CMS

I'm trying to insert a a javascript file I wrote (just a simple alert box) into the header of my Orchard CMS site. My problem is that I can't get the pathing right to lead to the .js file, I've even tried placing my .js file in the website root folder.

Any ideas how to get the path right?

Upvotes: 1

Views: 494

Answers (1)

Bertrand Le Roy
Bertrand Le Roy

Reputation: 17814

Ah, you are probably missing a web config in the directory where the script is.

Upvotes: 3

Related Questions