Syles / JavaScript

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

 Hello,

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.

Thanks

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?

Coordinator
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”.

Thanks

Feb 17, 2011 at 1:13 PM

Looks like here are posts which covers this issue:

http://orchard.codeplex.com/discussions/240652

Thanks