Skip to content

Instantly share code, notes, and snippets.

@Zauberfisch
Zauberfisch / GridFieldPersonSalutationDropDown.php
Created March 3, 2013 20:51
GridField example inline/inrow Dropdown example (Changing a Persons Salutation)
<?php
class GridFieldPersonSalutationDropDown implements GridField_ColumnProvider, GridField_URLHandler {
public function augmentColumns($gridField, &$columns) {
$columns[] = 'Salutation';
}
public function getColumnsHandled($gridField) {
return array('Salutation');
}
@bummzack
bummzack / restful_simpleauth.md
Last active November 20, 2016 19:25
Authentication using Ember simple auth and SilverStripe RESTfulAPI

Authentication using Ember simple auth and SilverStripe RESTful API

The goal of this GIST is to give a short summary of what is needed to perform authentication from an ember.js application using simple-auth and the SilverStripe RESTful API module

Prerequisites

Here's a list of the software that was used:

Frontend