Jump to:

5450 Posts in 1672 Topics by 1197 members

Customising the CMS

SilverStripe Forums » Customising the CMS » Created nested data-row structure like sitetree.

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

Page: 1
Go to End
Author Topic: 251 Views
  • Schippie
    Avatar
    Community Member
    23 Posts

    Created nested data-row structure like sitetree. Link to this post

    I have a question, not sure if there is an easy answer to it but i want to try and create a cms panel that would have a similar structure to the sitetree but for a list of companies and sub-companies :

    - Main company 1

    • Sub Company 1
    • Sub Company 2

    - Main company 2
    • Sub Company 1
    • Sub Company 2

    etc.

    Now my question is is there an easy way to achieve such a structure?

  • Schippie
    Avatar
    Community Member
    23 Posts

    Re: Created nested data-row structure like sitetree. Link to this post

    Well got a little further implementing the dataExtension with the class. But my next problem is trying to figure out how i get leftandmain to render the treelist through the getSiteTreeFor() I see it gets called by a URL that is on the html element but thats as far as i have gotten so far.

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