Followers of last weeks discussion will I'm sure be pleased to know I've now got a working module in development, and a much better handle of the moodle code Many thanks to all for their help.
My question is this
I would like to handle file uploads for the resources section of the groupware, and I can see some functions for in in the moodle lib file, but not a complete solution for uploading and handling files.
What is the best way to do this and stay in the moodle "way" of things? Do I make a groupware folder off the moodledata folder, and a new folder in that for every instance of my groupware module? and whioch file handling methods do I use, as I can seem to find none that do the actual upload in the moolde libraries.
Also, if anyone has an answer to my css question a couple of days ago, that's be great. I'm still not sure where I shoudl include my module specific css.
I am not sure how the file upload works, but why don't you simply have a look at the modules that do file uploads, like the forum module, the assignment module, the workshop module,.... Then do it the same way.
As far as I know there is no mechanism for module specific stylesheets. The philosophy is that all of Moodle should have a unified look and therefore all modules should use the same stye sheets. However this all changes when the new templating mechanism is introduced. So for now just do anything that works for you, like for example tagging your extra definitions on to the end of the standard style sheet.
RE the CSS, I'm using it for layout of elements on screen, rather than colour etc, so it would keeo the moodle feel, but be laid out without too many tables, which break most accessibility guidelines.