Mansi

Add OrderDetailsSummary to $summary_fields

Mansi

You need to add getOrderDetailsSummary to $summary_fields

Mansi

Hi, I have a Many-Many relation between an Event and a FinancialYear Dataobjects. I want to update the ModelAdmin for Event to be able to search using a drop-down for the FinancialYear

I have tried setting up the $searchable_fields like so

  1. Event.php
  2.  
  3. private static $searchable_fields = array(
  4. 'FinancialYears' => 'PartialMatchFilter'
  5. );

And also tried

  1. Event.php
  2.  
  3. private static $searchable_fields = array(
  4. 'FinancialYears' => array(
  5. 'filter' => 'ExactMatchFilter'
  6. 'field' => 'DropdownField',
  7. 'title' => 'FinancialYear'
  8. )
  9. );

But I'm getting the error -

  1. [User Error] Uncaught Error: Call to a member function scaffoldSearchField() on null
  2. GET /admin/nominations/Event?flush=&flushtoken=8ec4e5016920de5c147dc0cc8520515b
  3. Line 2289 in /var/www/html/framework/model/DataObject.php

What am I missing here..?

Mansi

Thanks. I wanted to change the value of X-Frame-Options: DENY. Found that this can be done by changing the config for Security controller class.

Mansi

Do I apply the extension to MemberLoginForm ? What method do I extend?

Mansi

Hi, I need to add HTTP response headers to the /Security pages e.g. login page, password reset page I'm. What would be a good approach to do that?