Jun 29, 2011 at 1:14 PM
Edited Jun 29, 2011 at 1:17 PM
Is it possible to have more than one driver for a single part?
When I've tried this to create two widgets that each display the same content part but in a different way, both the drivers appear to be called and therefore both templates are displayed so the widgets are effectively merged in the display even when only
one was added to a zone. I imagine this is because Orchard automagically knows which driver to use for the widgets by looking for drivers that implement the correct ContentPartDriver<T> type (where T is the ContentPart); it finds two so displays
I can't see how I can specify which driver to use for each widget.
Am I approaching this from the wrong angle?