Jump to:

5537 Posts in 1737 Topics by 1223 members

Customising the CMS

SilverStripe Forums » Customising the CMS » ModelAdmin search result

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

Page: 1
Go to End
Author Topic: 306 Views
  • BenWu
    Community Member
    87 Posts

    ModelAdmin search result Link to this post


    I would like to put a list of data under the Datagridfield (which contains the searchresult of the model managed by the Modeladmin).

    I can extend the ModelAdmin class, put an extra method in to get the datalist,

    but then i have to go into framework/admin/template/Includes/ModelAdmin_Content.ss to add a line after


    to get the data in. this works but it's not nice to update anything in the framework.

    How do i have my own ExtendedAdmin_Content.ss and where shall I put this file?

    I put it under






    but it doesn't work

  • jak
    Community Member
    46 Posts

    Re: ModelAdmin search result Link to this post

    I am not very familiar with ModelAdmin, but if you are extending the class anyway, then you could just add your additional data as a new FormField to the EditForm.

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.