Have a question:
NopConfig has a property called ThemeBasePath which specify the themes virtual path.
I think the purpose of this property is make the themes virtual path configurable. For example, I can put the themes under ~/Content/Themes/ instead of the default ~/Themes/.
However, inside the ThemeableRazorViewEngine the themes' virtual path is hard coded.
ViewLocationFormats = new[]
{
//themes
"~/Themes/{2}/Views/{1}/{0}.cshtml",
"~/Themes/{2}/Views/{1}/{0}.vbhtml",
"~/Themes/{2}/Views/Shared/{0}.cshtml",
"~/Themes/{2}/Views/Shared/{0}.vbhtml",
//default
"~/Views/{1}/{0}.cshtml",
"~/Views/{1}/{0}.vbhtml",
"~/Views/Shared/{0}.cshtml",
"~/Views/Shared/{0}.vbhtml",
//Admin
"~/Administration/Views/{1}/{0}.cshtml",
"~/Administration/Views/{1}/{0}.vbhtml",
"~/Administration/Views/Shared/{0}.cshtml",
"~/Administration/Views/Shared/{0}.vbhtml",
};
Should we change ThemeableRazorViewEngine to make use of ThemeBasePath ?
Thanks,