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.

Customising the CMS /

Stripped down admin section for clients


Reply


4 Posts   1275 Views

Avatar
meekish

Community Member, 2 Posts

26 February 2009 at 11:56am

I'm thinking of using SilverStripe to create some very basic informational (brochure) web sites. The only thing my clients would want to do would be to update copy on the existing pages.

I would be the one to go in and create new pages, edit forms, fill out metadata, etc...

I'm worried that the myriad tabs and features in the admin section would be intimidating to my clients. Is there a module that lets one strip the admin interface down to the absolute basics for non-techy security groups?

Avatar
Hamish

Community Member, 712 Posts

26 February 2009 at 1:07pm

Edited: 26/02/2009 1:08pm

First thing to do would be to create a security group for them, and make it so they can only access the content section.

Then it depends on how much work you want to put in... you modify the CMS fields so that if they're not an admin, you remove the tabs the don't need, for example.

To stop them creating new pages I think you can override cancreate?

eg:

<?php
class Page extends SiteTree {

   public function canCreate($member = false) {
      //logic to determine if they have permission;
      parent::canCreate($member);
   }

   public function getCMSFields() {
      $fields = parent::getCMSFields();
      // modify $fields as required
      return $fields;
   }

}

...

?>

Would be interested to hear how you go.

Avatar
froog

Community Member, 43 Posts

17 July 2009 at 6:27pm

meekish, try out my new module Simplify - it can strip down the admin interface to the bare minimum

Check it out here:

[url]http://silverstripe.org/all-other-modules/show/264972[/url]

Avatar
meekish

Community Member, 2 Posts

18 July 2009 at 3:49am

This is great. Thanks for making it. I ended up going with WordPress with some plugins to simplify the admin section, but if I land a new client soon, I may give this a shot. Thanks again.