http://www.linux-tips-and-tricks.de

Wie kann man die md5sum bei docman anzeigen/How to display the md5sum in docman PDF Print E-mail
Samstag, 24 September 2011
Bei meiner docman Installation wird standardmäßig immer die md5sum und crc angezeigt. Allerdings stehen nie Werte drin. Genaugenommen ist das kein Problem für mich aber für collectNWData möchte ich doch sicherstellen, dass sich dort eine korrekte md5sum vom Script befindet und der Downloader prüfen kann, ob das Script OK ist. Daraufhin habe ich im Netz gesucht und letztendlich herausbekommen, wie man Felder in der docman Detailsansicht ausblenden kann und wie man die md5sum füllen kann.
 
===> English <===
 
My docman installation displays the md5sum and crc in the documents section. Unfortunately there is no value displayed. Actually that's no issue for me because I don't need them but for  collectNWData I want to make sure the downloader can check the md5sum of the downloaded file. That's why I searched in the net and finally found out how to disable fileds in the details display in docman and how to fill in a md5sum.
 
===> Click here for English <=== 
 
Das Ausblenden von unnötigen Informationen auf der Detailsseite geht recht einfach, indem man die Datei components/com_docman/themes/default/themeConfig.php ändert und bei den Informationen, die nicht angezeigt werden sollen eine 0 einträgt. Im folgenden Beispiel habe ich den Maintainer und die crc Checksumme ausgeblendet.
 
var $details_maintainers = "0";
var $details_downloads = "1";
var $details_updated = "1";
var $details_homepage = "1";
var $details_crc_checksum = "0";
var $details_md5_checksum = "1";

Die md5sum ist - sofern man weiss wie - auch sehr einfach einzutragen. Man muss dazu in der Datenbank in der Tabelle jos_docman in dem Attribut attribs den folgenden Inhalt reinschreiben:
 
md5_checksum=ada552bfee7123a1e84647a1aef9d905
 
===> English <=== 
 
If you want to remove some fields on the details of docman you have to edit the file components/com_docman/themes/default/themeConfig.php. All fiedls you don't want to display  should get a 0 in the corresponding line. In the following example I removed the maintainer and checksum.
 
var $details_maintainers = "0";
var $details_downloads = "1";
var $details_updated = "1";
var $details_homepage = "1";
var $details_crc_checksum = "0";
var $details_md5_checksum = "1";

The md5sum is also quite easy to insert - if you know how to do it. Just insert in the database in table jos_docman in the attribut attribs the following contents:
 
md5_checksum=ada552bfee7123a1e84647a1aef9d905
 
 
 
 
 
Last Updated ( Samstag, 17 März 2012 )
 

Add comment

===> Pls add comments in German or English only <===
eMail will be hidden/eMail wird versteckt


Security code
Refresh

< Prev   Next >