Installed Theme doesn't use/fall back to the document.cshtml in the SafeMode View

Topics: Writing themes
Oct 9, 2012 at 9:44 AM

Orchard 1.5.1

TheThemeMachine theme doesn't have document.cshtml in it

So it should be using the document.cshtml in the SafeMode/Views  folder

But...

When I make changes to the document.cshtml, nothing happens.

When I copy the document.cshtml to TheThemeMachine/Views, it works fine.

This is, however, not the expected behavior, isn't it?

Coordinator
Oct 9, 2012 at 7:13 PM

No, it's using the one in core, that takes precedence over the one in safe mode. Safe mode is a very very low priority theme.

Oct 9, 2012 at 8:28 PM

Thank you very much indeed.

Now I started understanding this powerful system.