Community Support for OpenDocMan (Deprecated)
Add/remove columns in file list - Printable Version

+- Community Support for OpenDocMan (Deprecated) (https://forum.opendocman.com)
+-- Forum: OpenDocMan Community Discussion (https://forum.opendocman.com/forum-5.html)
+--- Forum: OpenDocMan Support - Community Based (https://forum.opendocman.com/forum-6.html)
+--- Thread: Add/remove columns in file list (/thread-670.html)



Add/remove columns in file list - Frank - 02-11-2014

What would be the easiest way to add/remove columns in the file list?

I want to remove some default columns and add some UDF columns.

Thanks a lot!


Re: Add/remove columns in file list - k8fisher - 02-25-2014

Hi,

Imm looking to to do this exact thing. Ive been investigating the files to see where I get.

out.php

-------------------------
functions.php -
function list_files($fileid_array, $userperms_obj, $dataDir, $showCheckBox = 'false', $rejectpage = 'false')
...
$file_obj = new FileData($fileid, $GLOBALS['connection'], DB_NAME);

-------------------------
FileData_class.php -
class FileData extends databaseData{
....

Im wondering if editing the FileData definition is at least a good starting point.

Has anyone else tried to add / remove columns to the list view.

Kate


Re: Add/remove columns in file list - nitey4ever - 06-03-2014

I got mine to stop displaying the database information that corresponds with the columns I want to remove, but can't get it to remove the actual column itself. I can't even find where in the files to affect this kind of change and I've been bashing my head over it for about 5 days now. Any hints?