Yes, it's time! Check out the community blog. Enjoy! And be sure to post any questions or comments.
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.
- Previous 10 entries
- 1
- Page 22(current)
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
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".
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
@cumquat, did you ever get around to building this extension? I'd be keen to check it out if you did :)
- Previous 10 entries
- 1
- Page 22(current)