-
Optimizing response time in SilverStripe using APC and Partial Caching
-
Customizing GridField columns. (Two methods)
- Use
$summary_fields
and define custom getter:
$summary_fields = array('FullName' => 'Full Name'); public function getFullName() { return $this->FirstName . ' ' . $this->LastName; }
- Use GridField
setFieldFormatting()
to customize:
$config->getComponentByType('GridFieldDataColumns')->setFieldFormatting(array( 'Intake' => function($val, $list) { return date('M Y', strtotime($val)); } ));
- Use
-
Importing CSVs and dealing with relationships.
Last active
December 26, 2015 02:29
-
-
Save trev/7079343 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment