matteo,
I have run into the same dilemma as Michael... for the users it is really not obvious that the comment for the document is showing in the folder view...
So i get many questions and quite frankly, Michael's idea fits the purpose of my DMS too.
it really is not obvious for users, because the initial comment always shows up near the rev 1... and there is no such separately shown area as rev 1 comment AND document comment...
is there an easy fix to show not the document comment but the version comment in the folder view?
found the easy fix for those who might need it. This hack was checked with version 2.0.
in file out.ViewFolder.php
find
foreach($documents as $document) {
and replace this code below
with this code
I have run into the same dilemma as Michael... for the users it is really not obvious that the comment for the document is showing in the folder view...
So i get many questions and quite frankly, Michael's idea fits the purpose of my DMS too.
it really is not obvious for users, because the initial comment always shows up near the rev 1... and there is no such separately shown area as rev 1 comment AND document comment...
is there an easy fix to show not the document comment but the version comment in the folder view?
(09-05-2010, 10:59 PM)alekseyn Wrote: is there an easy fix to show not the document comment but the version comment in the folder view?
found the easy fix for those who might need it. This hack was checked with version 2.0.
in file out.ViewFolder.php
find
foreach($documents as $document) {
and replace this code below
Code:
$owner = $document->getOwner();
$comment = $document->getComment();
if (strlen($comment) > 50) $comment = substr($comment, 0, 47) . "...";
$docID = $document->getID();
$latestContent = $document->getLatestContent();
$version = $latestContent->getVersion();
$status = $latestContent->getStatus();
with this code
Code:
$owner = $document->getOwner();
$latestContent = $document->getLatestContent();
$comment = $latestContent->getComment();
if (strlen($comment) > 50) $comment = substr($comment, 0, 47) . "...";
$docID = $document->getID();
$version = $latestContent->getVersion();
$status = $latestContent->getStatus();