Jump to:

5450 Posts in 1672 Topics by 1197 members

Customising the CMS

SilverStripe Forums » Customising the CMS » TreeDropdownField return subtree of hierarchy

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

Page: 1
Go to End
Author Topic: 605 Views
  • sean.smorris
    Avatar
    Community Member
    1 Post

    TreeDropdownField return subtree of hierarchy Link to this post

    I noticed this question from a post in 2009 that was never answered.

    I wanted to filter the TreeDropdownfield to only return a subtree of the whole tree and can't seem to pull it off.

    SiteTree
    --- SubTree1
    ------- Subtree1.1
    ------- Subtree1.2
    --- SubTree2
    ------- Subtree2.1
    ------- Subtree2.2

    Depending on where the users is navigating I will only want to show Subtree1.2 or Subtree2.2 or both.

    I appreciate any help here.

    Thanks,

    Sean

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