Can I group views into a feature

Topics: Customizing Orchard
Nov 21, 2014 at 4:03 PM
I have two features in my module. One feature is only a bunch of views overriding a view dynamic forms elements. Is there a way to tag them with the OrchardFeature Attribute?
Nov 21, 2014 at 6:15 PM
Unfortunately there's no way to associate views with features; as soon as any feature of your module is enabled, all views are considered when rendering. Unless of course you implement your view as a shape method.
Marked as answer by benschi11 on 11/21/2014 at 12:15 PM
Nov 21, 2014 at 7:15 PM
Ok. Thanks. Maybe I will create a own module for the views - not perfekt, but that should work.