Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Customising the CMS /

Created nested data-row structure like sitetree.


Reply


2 Posts   347 Views

Avatar
Schippie

Community Member, 32 Posts

23 October 2013 at 10:29pm

Edited: 23/10/2013 10:30pm

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?

Avatar
Schippie

Community Member, 32 Posts

14 November 2013 at 10:31pm

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.