return of the subsection: testing wanted

return of the subsection: testing wanted

av Rudy Scott -
Antal svar: 8

Subsection update

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. 

Testers wanted

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?

Installation

The zip file contains the subsection module as well as modified versions of the following moodle files:

   blocks/activity_modules/block_activity_modules.php
   blocks/admin/block_admin.php
   course/lib.php
   course/mod.php
   course/view.php

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.

Thanks!

--Rudy

Genomsnitt av betyg: -
Som svar till Rudy Scott

Re: return of the subsection: testing wanted

av Ger Tielemans -

It works in a very recent latest nightly release (CVS 2004081500) of Moodle 1.4, three remarks

  • I did compare the files of CVS with yours and changed only the lines in my CVS that seemed your changes.
  • The separated "add a resource box in the section" does not show up in subsection, but resource is also no longer listed in the original list.
  • the htmleditor is not correct initialised, error, but you can go on with the webbox
  • To change as little as possible in your modul, just to remove the boxes on the left and the right (in GER mode wink ) I only had to remove the lines 275-279 and 357-365:

    Wouild be nicer to have: (if you would create conditions around these lines to show/hide)
    • a settings-page for the modul under the admin page (general on/off)
    • a chekbox on the settings page where each teacher can choose to leave the colums out. (active if the general setting is on)


(I still have to test if the modul shows up as a cascade in the tree-view-block)

Som svar till Rudy Scott

Re: return of the subsection: testing wanted

av Ger Tielemans -
Rudy, when I tried to implement subsection in 1.4.3 (17 dec release) I got an error: sess key missing. What should be changed against this official release?
Som svar till Rudy Scott

Re: return of the subsection: testing wanted

av Bhupinder Singh -

Hi,

Is the subsection workable on 1.5+

Garry

Som svar till Bhupinder Singh

Re: return of the subsection: testing wanted

av Ger Tielemans -

With the arrival of the blocks, I gave up the use of Subsections: it is - for me - not working with 1.5.2: it complains about activity not specified.

  • Blocks express better the idea of supporting activities
  • it is easier to explain to/visualise for  users
  • I am looking for course formats to differentiate a little more
  • I also make more use of the indent option in the sectons to reflect hierarchy structure

This way the structure is on one screen, not hidden in subsection screens

Som svar till Ger Tielemans

Re: return of the subsection: testing wanted

av Bhupinder Singh -

Thanks for the ino.

If you come across course formats that are interesting do let us have a peek at them.

Garry

Som svar till Rudy Scott

Re: return of the subsection: testing wanted

av Leo Dil -

Hi Rudy,

I'm using 1.7+ and I need this functionality. I changed everything what was needed to get subsection working, but unfortunatlly it isn't working.

Can you tell me if you have updated subsection? Or can you help me build this in 1.7?

Thank you.

Regards,

Leo