one works, the other one doesn't. As far as I can tell, it's because /saml/metadata is prompting for basic auth on the broken site
I've got a customer who has two sites set up to authenticate via saml
does anyone here know much about silverstripe-saml?
hmm. I see looking at the code that
getSearchContext has been deprecated. I wish docs were updated when things are deprecated!
Have a look at this maybe instead. Might work for your usecase: https://docs.silverstripe.org/en/4/developer_guides/search/searchcontext/ @alt
- public function getSearchContext()
- $context = parent::getSearchContext();
- $context->getFields()->push(new CheckboxField('q[IncludeArchived]', 'Include archived events'));
- return $context;
I'm trying to add an item to the search form in Modeladmin as per https://docs.silverstripe.org/en/4/developer_guides/customising_the_admin_interface/modeladmin/#displaying-results however it doesn't show up. any ideas?
updateFrontEndFields(&$fields) works, but gives warnings saying the declaration should be compatible with
updateFrontEndFields($fields) but this didn't seem to have any effect when adding new fields
hey, what's the correct way to have an extension update frontend fields of a dataobject?