5098 Posts in 1518 Topics by 1115 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 165 Views |
-
ModelAdmin search result

4 August 2012 at 12:23am
Hello
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
$EditForm
$MyDataList
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
mythemeName/templates
ormythemeName/templates/Layout
ormythemeName/templates/Includes
but it doesn't work -
Re: ModelAdmin search result

6 August 2012 at 1:54am
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.
| 165 Views | ||
|
Page:
1
|
Go to Top |


