EtchUK / Etch.OrchardCore.UserProfiles

Orchard Core module provided useful extensions to users (e.g. profiles, subscriptions).
MIT License
6 stars 2 forks source link

Use `SectionDisplayDriver` to attach `ProfilePart` to user #5

Open peterkeating opened 4 years ago

peterkeating commented 4 years ago

Instead of creating a Profile content type that contains a ProfilePart that links to a user and contains custom properties for a user, we should migrate to using SectionDisplayDriver<User, ProfilePart> to display the profile part when editing a user.

Source: https://github.com/sfmskywalker/Skywalker.Website/blob/master/src/Modules/Skywalker.OrchardCore.ContentExtensions/Drivers/AuthorDisplayDriver.cs#L10