This is a revised version of the subsection module that I posted an early revision of a few months ago. Sorry to take so long for the update, I haven't had much time to work on this until this week. This new version is updated to work with moodle 1.3.3/1.4 (particularly to work with the very cool blocks addition). I've also addressed some of the problem points in the early release (such as the annoying constant return to the main page when editing a subsection). I have not yet implemented the "outline view" that Ger suggested, but this is next on my list.
Thanks to everyone who gave feedback on the original module (especially to WP and Ger). I continue to look for other suggestions, critics, and feedback.
In order to get the module to integrate well, I had to make a few changes to other moodle code. Basically what I'd like to do now is make sure that these changes do not break anything else in moodle, so I'm looking for some brave souls who would be willing to help with this testing. The changes to core moodle code are of 2 types:
1) removing relative path dependencies and replacing them with full paths from the $CFG class.
2) increasing the number of places that will use the SESSION property "returnpage" rather than returning to a hard-coded location.
If after testing, these changes don't have any negative effects, I wonder if someone with CVS access would be willing to consider integrating them into the moodle core?
The zip file contains the subsection module as well as modified versions of the following moodle files:
In the zip file I gave all of these files a .new extension rather than a .php extension. This is to prevent accidental overwriting of moodle files and allows you to choose to either manually make the changes in your versions of the file or just copy the new files over the top. The changes are also summarized in the changes.txt file in the subsection directory.
Other than that, subsection installs in the /mod folder like any other module and also adds subsection.php to the lang/en folder.