Open orchardbot opened 10 years ago
@sebastienros commented:
Two solutions:
Also, if the default feature of a module is not enabled, the placement.info should not be parsed.
This last syntax has to be applied on the predicates when parsed so that enabling/disabling a module can be reflected dynamically. TODO: ensure checking if a feature is enabled doesn't cost too much CPU.
@csurieux created: https://orchard.codeplex.com/workitem/20626
Actually it does not work.
My module uses a Part named OrderPart and a contentitem nammed Order, I am also using Nwazet.Commerce which also defines in its namespace a part named OrderPart and a similar content item, but this part is 'selectable' or not by a feature [OrchardFeature("Datwendo.Commerce")] which I don't use.
But Nwazet commerce contains a placement file with this design: