Jump to:

7940 Posts in 1543 Topics by 946 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » DOM showing all data objects on all pages?

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Page: 1
Go to End
Author Topic: 419 Views
  • LisaB
    Community Member
    28 Posts

    DOM showing all data objects on all pages? Link to this post

    Hi all, I'm not sure if this is expected behaviour or if I'm doing something wrong (very likely!):

    I have a data object ServiceProduct with a many-many relation to a page type ServiceProductHolder.
    I am using ServiceProductHolder pages to categorise ServiceProducts and display them in the front end. This is working fine - ServiceProducts are displayed on their relevant category page(/s).
    ServiceProductHolder.php has a DOM which creates a tab to manage the ServiceProducts for each category page. However, no matter which category page you edit, all 71 service products are displayed, rather than just those that belong to that particular page.

    My questions are: is this how it is supposed to be? and can I restrict the DOM to displaying only the ServiceProducts that belong to the page?

    Any help greatly appreciated!

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.