Overriding Part Driver

Topics: Customizing Orchard, Writing modules, Writing themes
Jun 1, 2011 at 2:43 PM
Edited Jun 1, 2011 at 2:49 PM

I'm trying to override a Part Driver, specifically the "Orchard.Core.Containers.Drivers.ContainerWidgetPartDriver".

I've tried with this attributed applied to my replacing Driver

[OrchardSuppressDependency("Orchard.Core.Containers.Drivers.ContainerWidgetPartDriver")]

 

But it doesn't seem to work. What I'm doing wrong? Maybe Drivers are not dependencies?

 

Thanks.

 

Edit: Sorry, my mistake. I've done it right and restarting IIS it works!