PHPackages                             jotham/silverstripe-dataobject-preview - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. jotham/silverstripe-dataobject-preview

AbandonedArchivedSilverstripe-module[Utility &amp; Helpers](/categories/utility)

jotham/silverstripe-dataobject-preview
======================================

Activates some of the new Silverstripe 3.1 side-by-side preview functionality for use with DataObjects.

5452[1 issues](https://github.com/jotham/silverstripe-dataobject-preview/issues)[1 PRs](https://github.com/jotham/silverstripe-dataobject-preview/pulls)PHP

Since Jan 15Pushed 10y ago2 watchersCompare

[ Source](https://github.com/jotham/silverstripe-dataobject-preview)[ Packagist](https://packagist.org/packages/jotham/silverstripe-dataobject-preview)[ RSS](/packages/jotham-silverstripe-dataobject-preview/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

SilverStripe 3.1 DataObject Preview
===================================

[](#silverstripe-31-dataobject-preview)

Activates some of the new Silverstripe 3.1 side-by-side preview functionality for use with DataObjects.

- .

[![screenshot_plugin](https://cloud.githubusercontent.com/assets/247139/4880595/5eb2c5ac-633d-11e4-86c0-c207d85f7be9.jpg)](https://cloud.githubusercontent.com/assets/247139/4880595/5eb2c5ac-633d-11e4-86c0-c207d85f7be9.jpg)

Requirements
------------

[](#requirements)

- Silverstripe 3.1

Install
-------

[](#install)

1. Install the module into the SilverStripe root.
2. Create a DataObject that extends PreviewableDataObject.
    - [example\_files/ExampleObject.php](https://github.com/jotham/silverstripe-dataobject-preview/blob/master/example_files/ExampleObject.php)
3. Create a ModelAdmin that manages your DataObject.
4. Create a Page + Page Controller to render your DataObject preview.
    - [example\_files/PreviewPage.php](https://github.com/jotham/silverstripe-dataobject-preview/blob/master/example_files/PreviewPage.php)
5. Create a Template for your Preview Page.
    - [example\_files/PreviewPage.ss](https://github.com/jotham/silverstripe-dataobject-preview/blob/master/example_files/PreviewPage.ss)
6. Run /dev/build and ?flush=all

Troubleshooting
---------------

[](#troubleshooting)

- Make sure your DataObject has defined $preview\_page.

Todo
----

[](#todo)

- Make an Extension so you don't have to migrate your existing DataObjects.
- Fix up Versioning.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/7f67c007ca10d0d61256d2d12c03ce8c6b5202ea12c1906496cfe68b29fdc136?d=identicon)[jotham](/maintainers/jotham)

---

Top Contributors

[![jotham](https://avatars.githubusercontent.com/u/247139?v=4)](https://github.com/jotham "jotham (33 commits)")

### Embed Badge

![Health badge](/badges/jotham-silverstripe-dataobject-preview/health.svg)

```
[![Health](https://phpackages.com/badges/jotham-silverstripe-dataobject-preview/health.svg)](https://phpackages.com/packages/jotham-silverstripe-dataobject-preview)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
