/remodeladmin

Based off Uncle Cheese's RemodelAdmin (http://www.leftandmain.com/uncategorized/2011/02/25/taming-the-beast-remodeling-modeladmin/)

Primary LanguagePHP

SilverStripe RemodelAdmin

Basically a subclass of ModelAdmin for holding useful and common customisations. Based on the work of UncleCheese (http://www.leftandmain.com/uncategorized/2011/02/25/taming-the-beast-remodeling-modeladmin/) and Matt Clegg (https://github.com/mattclegg/remodeladmin)

Maintainer Contacts

Requirements

  • SilverStripe 2.4+

Documentation

GitHub Wiki

Installation Instructions

  1. Place the files in a directory called remodeladmin in the root of your SilverStripe installation
  2. Visit yoursite.com/dev/build to rebuild the database

Usage Overview

Default Summary Fields:

Can specify which summary fields are selected by default by putting something like this in the model:

	static $summary_fields = array(
		'Name' => 'Name',
		'Email' => 'Email',
		'Created' => 'Date',
		'PageID' => 'Page'
   );
   
	static $default_summary_fields = array(
		'Name',
		'Email',
		'Created'
   );

Name, Email, Created and Page will all be available in the list of fields but only Name, Email and Created will be checked by default. If $default_summary_fields isn't set then everything in $summary_fields will be on by default.

Known Issues

Issue Tracker