Jump to:

3462 Posts in 1065 Topics by 740 members

Data Model Questions

SilverStripe Forums » Data Model Questions » Filtering dataobjects between subsites

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

Page: 1
Go to End
Author Topic: 300 Views
  • senorgeno
    Avatar
    Community Member
    10 Posts

    Filtering dataobjects between subsites Link to this post

    Hi I am developing 3 sites using the subsites in 2.4.7,

    I have a series of FAQ categories I want to filter for each subsite so if the all site administrator goes to each FAQ page they will only see FAQ Categories or Dataobjects for that site. The idea I have would be perhaps to store the subsite id when the dataobject is saved and then using some customisation of the canView function in the FAQ category dataobject to filter the results based on what subsite the administrator is in?

    I'm pretty new to SS does this sound right, or has anyone done something similar?

    Thanks

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