This project is read-only.

how to replace Orchard.Users by my customized one

Topics: Core, Customizing Orchard, General
Jan 12, 2012 at 5:23 AM

Hi all,

The question is simple, but I found it was difficult to achieve it.

I wanna replacing Orchard.Users module by my own implementation, let's say ABC.Users, when I tracing the code, Orchard.Users has hard coded in Orchard.Setup module.

Should I also need to override the Orchard.Setup module? if yes, how could I override the setup step hard coded in Orchard.Environment.ShellBuilders.ShellContextFactory.CreateSetupContext(ShellSettings settings).

I just felt that those modules got dependency and hard to be replaced.



Jan 12, 2012 at 1:12 PM

I wouldn't recommend overriding setup.

It depends exactly how you want to change the users functionality, there is probably a much easier way to achieve what you want. You can always just replace the membership provider.