Hey All,
I had a couple scenarios where I wanted to override some Nop admins views and was experimenting with the best way to do it. I also saw some questions out there on various forums asking how to do this. I thought I'd compile my findings into a blog post that walks you through how to override Admin Views and Partial Views with ease.
Check Out the Post Here
Please let me know what you think!
Hi I followed all the steps from http://alexwolfthoughts.com/overriding-nopcommerce-admin-views-and-partial-views
But the view is not overridden.
Using nopCommerce 3.80 currently.
I had a couple scenarios where I wanted to override some Nop admins views and was experimenting with the best way to do it. I also saw some questions out there on various forums asking how to do this. I thought I'd compile my findings into a blog post that walks you through how to override Admin Views and Partial Views with ease.
Check Out the Post Here
Please let me know what you think!
Hi I followed all the steps from http://alexwolfthoughts.com/overriding-nopcommerce-admin-views-and-partial-views
But the view is not overridden.
Using nopCommerce 3.80 currently.
Solution:
Step 1 – Create the Custom View Engine and inherit from ThemeableRazorViewEngine, instead of RazorViewEngine.
Step 2 - RouteProvider : IRouteProvider
Step 3 - Create a Controller
Step 4 - Create a view which is used to override + web.config
Step 5 - Create a .cs to and inherit from BasePlugin, IMiscPlugin
Here to download the source code.