Jump to:

5538 Posts in 1738 Topics by 1224 members

Customising the CMS

SilverStripe Forums » Customising the CMS » How to structure members section of the site

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 698 Views
  • ccburns
    Community Member
    74 Posts

    How to structure members section of the site Link to this post

    Hi Guys,

    I am about to start building a personal project using SilverStripe and I thought I would ask you guys some advice before I get started. At the moment I am just in the planning phase but hoping to move on to the design and coding phase in the next 2-3 weeks.

    Anyway, to the point. The website is a being design so that we have try to bring long-term travelling families together in a single place. I will use the forum module, create some custom page types etc. BUT my main question is this:

    What I would really like is for each family to have a single (family) profile on the site, where we will store their basic information and travel itinerary etc. But I would like for each person within this family to be able to have an account so they can access the forums etc.

    Sorry, this might be a stupidly simple question, but does anyone have any advice how I can set this up to have multiple members that belong to a family.

    So I guess this would mean when a family signs up we will need to create a member record in the member table and then a family record (in a family object or something like that).

    Anyway, ANY suggestions of a way to do this would be greatly appreciated.


  • lx
    Community Member
    82 Posts

    Re: How to structure members section of the site Link to this post


    i am not sure what your problem is exactly.
    but i would make a registerform like that:


    family name: _______

    Person 1:

    first name: __________
    surname: _________
    email: _________
    password: _______

    Person 2:

    first name: __________
    surname: _________
    email: _________
    password: _______


    Then (you are right) , you have to create a new familiy (dataobject class) and n members (all that are filled out)

    To get a relation between family and member you could decorate the member class to get a "familiyID" in the members table.

    I hope this helps you.

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.