![]() |
Remove columns from out.php - 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: Remove columns from out.php (/thread-11.html) |
Remove columns from out.php - Stephen - 01-12-2010 Hi, I want to remove some of the columns like "Date Created" from the file listings on out.php I already played around with the various files including "functions.php", but for no luck. After trying endlessly, now I want to ask the opendocman community if there is a way to remove some of the columns from the file listing page (out.php). thanks. Re: Remove columns from out.php - Stephen - 01-12-2010 If you have the right patches for User Defined Fields (UDFs), this is trivial. Go into functions.php, find the list_files() functions and look for the $fields\_to\_display variable, and remove the "created\_date": > if ( $fields_to_display == "" ) $fields_to_display = 'id:view:file_name:description/35:rights:created_date:modified_date:author:department ![]() I have not been actively developing ODM recently, but if you can't figure out which patches apply, let me know and I'll see if I can help you out. The better way is change to your config\_local.php file so it will not be overwritten by future ODM updates. Re: Remove columns from out.php - Stephen - 01-12-2010 Hi, thanks for your reply. No, I dont think that I am using that pacth that u mentioned. In my functions.php there is no feild as "$fields_to_display". Thanks Re: Remove columns from out.php - Stephen - 01-12-2010 Based on version 1.2.5.2: edit functions.php and comment out line 381, it should then say: > \# echo($str); then comment out the HTML on line 569, it should then say: > <\!-- {exisiting line} --> Hopefully this makes sense to you. Save the old file.... I have not tested these changes, but they're pretty straight forward. Re: Remove columns from out.php - Harry - 06-05-2012 I also would like to remove a column like the "ID" and the "date created" column. Using ODM 1.2.6.1. Harry Re: Remove columns from out.php - Harry - 06-07-2012 Too be clear: I have looked at the out.php and the functions.php but I am not a programmer. If someone could help me out with tips how to delete the columns I would be very happy and grateful. If someone is interested: I found out how to disable anyone but the admin from uploading files. Harry |