Jump to:

22997 Posts in 11620 Topics by 2827 members

General Questions

SilverStripe Forums » General Questions » Document Management

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1 2
Go to End
Author Topic: 1241 Views
  • SilverStripe
    Avatar
    Community Member
    4 Posts

    Re: Document Management Link to this post

    Yes, it's time! Check out the community blog. Enjoy! And be sure to post any questions or comments.

  • cumquat
    Avatar
    Community Member
    189 Posts

    Re: Document Management Link to this post

    Wow whooooo :o)

    Thanks for this one thing i will be asking for when i et a better grip on it is the ability to check a document out like a status maybe of a document for when people are making changes.

    Any who i shall be downloading and playing today with a bit of luck.

    again many thanks for this.

    Mick

  • candidasa
    Avatar
    Community Member
    10 Posts

    Re: Document Management Link to this post

    Nice idea to add a "check-out lock" for documents. That isn't something that we would want to put into the core of the DMS system, but it is definitely something that would work as a plug-in. Are you up for creating this functionality?

    The way to do it would be to use the SilverStripe extension mechanism:
    http://doc.silverstripe.org/framework/en/reference/dataextension

    You could create an extension that adds new $db fields with a variable for "document locked" and maybe a reference to the "Member ID" who holds the lock. Then you would create a method in your extensions like this:
    public function updateCMSFields(FieldList $fields) {}

    A method that overrides the CMS rendering and removes the "replace document" button if the lock is active. Perhaps replacing the button with a message like "User Mick has locked this document".

  • cumquat
    Avatar
    Community Member
    189 Posts

    Re: Document Management Link to this post

    Morning,

    Agreed this wouldn't be core, I will have a play at seeing what I can come up with over the next week or so.

    Cheers

    Mick

    1241 Views
Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.