<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi,<BR><BR>I'm new to pmwiki, so I apologize if this has been addressed already, and sorry about the length. I looked in the achives and didn't find anything on this particular challenge. I did read about why categories haven't been added, but I don't think my issue was addressed there. (I've been reading the pmwiki site for the last 5 days, and haven't seen this.)<BR><BR>&nbsp;I'm trying to modify a pmwiki so that files from a&nbsp;serveral directories under the uploads folder&nbsp;are included, and users are able to upload files directly to subdirectories. I'm aware of the Uploads: addon, but I can only get it to recognize 2 levels folders under the uploads: cookbook recipe. I need 3 levels.&nbsp;<BR><BR>&nbsp;I'd like to be able to give users a pull down menu so they can categorize their upload, and from there it would be put in the appropriate directory, subdirectory or sub-subdirectory.&nbsp;<BR><BR>&nbsp;I'm playing around with different methods of doing this: modifying the uploads recipe, or writing a whole new script.&nbsp;But I was hoping someone would point the way to information about pmwiki's code (which is a bit&nbsp;confusing to me at this time) so I can make the appropriate choice. I simply do not understand the nuances of functions&nbsp;so I'm not sure where to start to plug things in. Shoud I create a prepend the pull down to the input of the file name parser to something like $Category/$SubCategory/$SubSub/$Name and somehow figure out how to hand it off to the proper&nbsp;upload.php function?&nbsp;Which would I hand it off to? Or is there a more elegant solution, such as hijacking the $Groups/$Name feature in uploads?<BR><BR>&nbsp;As far as feedback on pmwiki, I would like to see more comments in the code explaining what each function does in case it's not obvious to a relatively new php developer like myself. I'm particularly looking for something like the comments in Uploads_Markup.php cookbook recipe.<BR><BR>&nbsp;Thank you in advance for your help. I hope someone out there can help me. And thanks for your time.<BR><BR>&nbsp;<BR><BR>Mike<BR><br /><hr />Windows Live: Make it easier for your friends to see what you’re up to on Facebook. <a href='http://windowslive.com/Campaign/SocialNetworking?ocid=PID23285::T:WLMTAGL:ON:WL:en-US:SI_SB_facebook:082009' target='_new'>Find out more.</a></body>
</html>