Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Customising the CMS /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Using Silverstripe's Draft/Publishing platform in custom parts of the CMS


Go to End


2 Posts   2171 Views

Avatar
lyschoening

Community Member, 4 Posts

29 October 2009 at 3:46am

Hey,

I have a client who needs an admin interface for some custom datatypes. This client has asked me if it was possible to set up what is essentially the Save and Publish feature in Silverstripe pagetypes.

One person may insert an interview, another will be allowed to publish it. When the interview is changed, it will have to be republished but should not be taken offline in the meantime. As I am not trying to reinvent the wheel I am wondering if there is a way to use the save/publish principle in a custom datatype (can extend Page if necessary) in ModelAdmin.

I have tried to find some information on this in the wiki with no luck.

Avatar
Willr

Forum Moderator, 5523 Posts

29 October 2009 at 6:01pm

Perhaps try the new module 'Moderatable' (only available via svn or http://open.silverstripe.com/changeset/latest/modules/moderatable/trunk?old_path=/&filename=/modules/moderatable/trunk&format=zip)

Thats been designed to provide versioning support to dataobjects in a model admin context.