tags:

views:

10

answers:

0

Hi , In the Docman component , i am trying a modification like in the submit file form i am getting a select dropdown box listing all the categories (Public) by default. But i am having a user group named X and when i logged in as the X user belonging to the X group then in the submit file form i need only the X category alone to be listed in the form and not the public categories . .How to do so.. Where do i have to change the code..

I have somewhat find out that there is a file named documents.php which is having a line like dmHTML::categoryList($doc->catid, "", $options); which is selecting the categories from the db. i want to find the Query from where the categories are fetched so that i need only the categories belongign to the user group are alone needed and not the public categories.

Please help me...