It's a simple category lister...it lists ALL categories, including sub-cats (but doesn't say if something is a sub-cat or not, which is what the prev poster was trying to say). it runs a simple query against the Categories table for the DOCman entries. If this is what you want, then you have a 100% working module. If not then...
The 'count' parameter doesn't work...and most people probably wouldn't want it to. It defaults to '7'. I changed it to '1' as well as '0', and it still listed everything. Not a problem for my intended use. :)
The number of items listed in the categories are ONLY in that category, NOT cat + sub-cat. Kind of a bummer, and I'm still too new to PHP to figure it out.
HOWEVER...
To change this to a menu module (or to list only the main categories):
1) Remove the 'count' parameter from the XML file and the $count line from the PHP file
2) Look for the following line:
. "\n AND section = 'com_docman'"
And add the following line after it:
. "\n AND parent_id = '0'"
A 30 second fix/upload and you've got yourself a menu for DOCman!