Jump to:

23476 Posts in 18941 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » Managing member profiles inside a tab?

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1
Go to End
Author Topic: 387 Views
  • FuturShoc
    Avatar
    Community Member
    4 Posts

    Managing member profiles inside a tab? Link to this post

    I am building our own events feature ("Save Your Seat") in a SilverStripe-powered site. (Lets a user buy tickets to an event.)
    So far, I've built a new page type for managing all aspects of ticket orders in the control panel. The "Save Your Seat" page (in SS control panel) has tabs for "Ticket Orders" and "Events" - the data relationships are working great and I can add/edit events as well as view ticket orders inside the tabs.

    What I need to do now is add a "Members" tab to that same page to list all users. That list should contain anyone who has registered via the MemberProfiles module.

    My question: Is it possible to add a new tab to my "Save Your Seat" page type based on the existing MemberProfiles data object?

  • martimiz
    Avatar
    Forum Moderator
    1085 Posts

    Re: Managing member profiles inside a tab? Link to this post

    You mean - without an existing relation between MemberProfiles and Page? I don't think you can... But maybe you could define a many-many relation (and never use it). Then a ManyManyComplexTableField would work...

    Although you'd probably get that warning when leaving the page without saving...

    [EDIT] oh - and welcome to the forums

  • FuturShoc
    Avatar
    Community Member
    4 Posts

    Re: Managing member profiles inside a tab? Link to this post

    I've since managed to get the base Member list (without MemberProfile module) to show up as a third tab in my Save Your Seat page control panel. That seems to work great. It now allows me to manage members, events and registrations all in one place...

  • martimiz
    Avatar
    Forum Moderator
    1085 Posts

    Re: Managing member profiles inside a tab? Link to this post

    OK - congrats

    Now, when things get very successfull, and the number of members soars, you might want to look at the ModelAdmin. It will also let you manage things all in the one spot, but it is far more efficient on large numbers of records...

    Cheers, Martine

    387 Views
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.