ADF: Only first page
OK, sorry, you are absolutely right. It is one for the document and one for the document version. Ticket can be closed!
Hi again, I added a preview in class.AddDocument.php just using some lines of code from class.DropFolderChooser.php, only that I set a custom preview size of widht=600px to see the document details. $previewwidth = 600; // did not wotk with $this->params['...']; / Set to much bigger $timeout = 3; // did not wotk with $this->params['...']; $dir = $dropfolderdir.'/'.$user->getLogin(); $previewer = new SeedDMS_Preview_Previewer($cachedir, $previewwidth, $timeout); $finfo = finfo_open(FILEINFO_MIME_TYPE);...
Hi again, I added a preview in class.AddDocument.php just using some lines of code from class.DropFolderChooser.php, only that I set a custom preview size of widht=600px to see the document details. $previewwidth = 600; // did not wotk with $this->params['...']; / Set to much bigger $timeout = 3; // did not wotk with $this->params['...']; $dir = $dropfolderdir.'/'.$user->getLogin(); $previewer = new SeedDMS_Preview_Previewer($cachedir, $previewwidth, $timeout); $finfo = finfo_open(FILEINFO_MIME_TYPE);...
Sorry, I meant class.AddDocument.php in views/bootstrap ...
Attributes apper two times
Hi Uwe, SOLVED! after seeing that adding print_r to out.AddDocument.php has no visible output , I found out that somehow it is using some of the files from old version. I don't know if there is some cache for php files or whatever in the webserver.... I was very suprised! However, 1. I added echo "HelloWorld!"; the old out.AddDocument.php and voila it was visible. 2. I searched the settings.xml for some reference to 5.0.11 but nothing ..... 3. I renamed old folder seeddms-5.0.11 to xxxseeddms-5.0.11...
Hi Uwe, Thank you for pointing at least to the right file to search for. in $this->printDropFolderChooserHtml("form1", $dropfolderfile); the value for $dropfolderfile is not set. I am not expert enough to find out at which point you are reading $GET[....] or to precise: whehere is the point where $this->params['dropfolderfile']; is set from the url? Replacing the line in the form by <?php $this->printDropFolderChooserHtml("form1",$GET['dropfolderfileform1']);?> did it for me, but I am not happy with...