This project is read-only.

Override a defined script / style from a theme

Topics: Customizing Orchard, Writing modules, Writing themes
Jul 20, 2012 at 2:52 PM
Edited Jul 20, 2012 at 2:52 PM

Is it possible to override a defined style / script from a theme?

If so, only through file based overrides or also through code?

I want to fully override the included javascript & style for one of our fields @ our theme.

Jul 23, 2012 at 1:21 PM

Sure. What happens when you try?

Jul 24, 2012 at 6:39 AM

Err I don't know how so.. nothing happens? :)

Jul 24, 2012 at 11:38 AM

Overriding stylesheets by just dropping a file with the same relative path (and file name) work. The same with scripts doesn't.