-
Hello, I'm building a large Webshop module in OrchardCore. Because I have a lot of Parts and Fields I have a lot of views inside my Views folder. Here is an example of the structure I would like to create. After some research I've tried to do something with an IViewLocationExpanderProvider but I can't figure it out how to do so. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Can be done by implementing a custom |
Beta Was this translation helpful? Give feedback.
-
@craftyweb I run into your post while searching for an ecommerce solution on OrchardCore. Are you going to offer yours as a commercial module? Do you have a demo site? |
Beta Was this translation helpful? Give feedback.
Can be done by implementing a custom
IShapeTemplateHarvester
, you can copy paste the current implementation but forSubPaths()
return the view paths you need, then in your module startup register this custom implementation as a scoped service, not to replace the current implementation but as an additional harvester.