7911 Posts in 1354 Topics by 930 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, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 244 Views |
-
DOM showing all data objects on all pages?

19 June 2012 at 5:01am
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!
| 244 Views | ||
|
Page:
1
|
Go to Top |
