This project is read-only.

Implementing IShapeTemplateViewEngine

Topics: Administration, Core, Customizing Orchard, General, Writing modules, Writing themes
Jul 27, 2015 at 1:16 PM
Edited Jul 27, 2015 at 5:07 PM
I Suppressed default RazorViewEngineProvider and create new one with same implementation with extra Location Format. For a test i added "~/Media/Default/Views/{0}.cshtml" to areaFormats in CreateModulesViewEngine method and placed Menu.cshtml in ~/Media/Default/Views folder but it does not render my template.

Anyone can guide me please?

MY GOAL: I want to be able placing view file in Media folder like i can place it in themes or modules folder.

Please Help!!!!!!