This project is read-only.

Syles / JavaScript

Topics: Writing modules
Feb 17, 2011 at 3:21 AM
Edited Feb 17, 2011 at 3:21 AM


could somebody point me to documentation about usage of Syle.Require Style.Include in views?

I see that it is use in quite a few places but I don't have much luck whit it in my module.


Feb 17, 2011 at 4:03 AM

Well, problem was related to my web.config, Style is working now, although still highlighted as errors in VS.. Any pointers?

Feb 17, 2011 at 4:16 AM

Your web.config is probably not enabling VS to give you good IntelliSense but it won't affect runtime. Try to copy the web.config from some other views directory where it is working.

Feb 17, 2011 at 12:38 PM

Yep I don’t have IntelliSense for Orchard “stuff”. I’m using VS 2010 and Orchard 1.0.20 source and I have the same problems even in Orchard own modules… Everywhere I’m getting “The name '…' does not exist in the current context”.


Feb 17, 2011 at 1:13 PM

Looks like here are posts which covers this issue: