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.

DataObjectManager Module

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Replacing ModelAdmin results table with DataObjectManager


Go to End
Reply

13 Posts   3689 Views

Avatar
timwjohn

26 March 2010 at 1:06am Community Member, 98 Posts

Could anyone give me some advice on how I would go about replacing the Search Results Table in ModelAdmin with a DOM?

It would be great to have filters and live search available in the ModelAdmin search results for certain managed models.

I seem to be going round in circles trying to figure where I would do this in the code. A little explanation would go a long way.

On the other hand, is it possible to add comboboxes to the ModelAdmin's search fields for things like has_many and many_many relationships with other objects?

Ta!

Avatar
UncleCheese

26 March 2010 at 2:35am 4085 Posts

Good question! It's been one of my pain points in Silvesrstripe for a while. As it is now, DOM is not ready to work with ModelAdmin, but it will be. There's a ton of stuff in the works that's really going to make some drastic improvements to ModelAdmin, including the inclusion of DOM. Stay tuned.

Avatar
Howard

26 March 2010 at 10:27am Community Member, 215 Posts

Woah I went to go use DOM in ModelAdmin today only to find that it doesn't work :( weird that it was the same day that this was posted... But yea I'm just posting to support your ModelAdmin efforts - would be great to have it working! :)

Avatar
joelg

26 March 2010 at 11:29pm Community Member, 129 Posts

Support from me too. DOM as modeladmin result table would be a milestone!

Avatar
zueri

3 April 2010 at 12:31pm Community Member, 5 Posts

This would be a killer feature of DOM. I'm currently struggling with ModelAdmin, and it would be so cool if I could use DOM in there.

Avatar
DsX

13 June 2010 at 6:55am Community Member, 178 Posts

I too am looking forward to this... really would be great for my next project. :)

any timeline in place?

Avatar
OzziNL

21 October 2010 at 11:14am Community Member, 37 Posts

Did somebody succeed with this since this last message?

Avatar
Martijn

21 October 2010 at 11:57am Community Member, 271 Posts

Besides a working search filter, I managed it to display DOM as ResultsTable in PanelModelAdmin:

http://svn.axyrmedia.com/panelmodeladmin/trunk/

Go to Top