Reusing Users in a custom element overview? #13215
-
We need to build an extensive member management system for an upcoming project, where users need a login to the site to view protected content, but whose user account also needs to be an object in a mini-crm system where our client can keep track of memberships, payments , etc. My initial idea was to create a new element, But I was wondering if extending User is a good idea, and if there is a way to make a separate overview from the existing element? Thanks for your input on this, I hope my explanation is somewhat clear :) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I would make |
Beta Was this translation helpful? Give feedback.
I would make
Member
its own element, with a 1-to-1 mapping between members and users. You can trigger aMember
create afterUser
save, or vise-versa, and giveMember
a$userId
property/foreign key that points back to its proxiedUser
element.