Jump to:

23479 Posts in 18951 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » creating grouped lists in the cms. how ?

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: 295 Views
  • lx
    Avatar
    Community Member
    82 Posts

    creating grouped lists in the cms. how ? Link to this post

    i dont know how to do this in the cms:

    I already have a DatabObject Employee.
    In the cms employees can be managed with modeladmin.

    Now i would like to add a TeamPage.php
    A Teampage should look like a grouped list on the frontend.

    Example: A new Teampage with the title "Webteam" might look like this.

    WEBTEAM

    Designers
    ----------------------
    M.Mueller
    H.Schulz
    F.Jordan

    Programming
    ----------------------
    J.Smith

    Testing
    ----------------------
    K.Roberts
    A.Heinz

    The question is now, how could you build the cms for this TeamPage that enables the administrator to create such a Grouped List by seleting persons from the existing DataObject Employee.

    What would be necessary in the cms:

    - Defining the headings (titles) for each subgroup
    - Adding employees to each subgroup
    - sorting employees in each subgroup

    A nice to have extension would be adding additional information to an employee for this subgroup (many_many extra fields)
    For example:

    WEBTEAM

    Designers
    ----------------------
    M.Mueller - responsible for the nice photoshop design
    H.Schulz - created the html5
    F.Jordan - did all css in this project

    Programming
    ----------------------
    J.Smith

    Testing
    ----------------------
    K.Roberts - found 34 bugs in 2 days
    A.Heinz

    295 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.