Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.9.3
-
Fix Version/s: None
-
Component/s: Course format: Project
-
Labels:None
-
Affected Branches:MOODLE_19_STABLE
Description
Problem: Teachers want to backup/restore/import/delete sections of a course. Currently only individual activities/resources or the whole course can be handled with Moodle 1.9. Also Moodle backup/restore/import do not sort the resources and activities according to topic/theme/project, but separate them by tool categories (ie: forums, quizzes, etc.). Teachers often want to duplicate whole sections which include a mix of activities.
Solution: We have developed a new course format called the "Project Course Format". It has the following four features:
- section backup
- section import
- bulk file upload
- automatic upload, naming and creation of "resources" in two clicks
Issues and status: The format has been working over six months in 1.9 production sites. We are still working on issues which concern moving/duplicating on the same course, and handling quiz question categories. Conversion of existing topics to project course format requires manual rebuilding of links.
Documentation: http://docs.moodle.org/en/Project_Course_Format
Discussion: http://moodle.org/mod/forum/discuss.php?d=87044
Attachments
-
$i18n.getText("admin.common.words.hide")
- project_format-2009022001.zip
- 04/Mar/09 1:34 PM
- 83 kB
- Akio Ohnishi
-
- project_format/course/.../project/ajax.php 0.2 kB
- project_format/course/.../project/backup.php 3 kB
- project_format/course/.../backup_check.php 10 kB
- project_format/course/.../backup_execute.php 2 kB
- project_format/course/.../backuplib.php 31 kB
- project_format/course/.../project/config.php 0.4 kB
- project_format/course/.../converter.php 21 kB
- project_format/course/.../db/install.xml 1 kB
- project_format/course/.../db/upgrade.php 0.2 kB
- project_format/course/.../editsection.php 2 kB
- project_format/course/.../edittitle.php 4 kB
- project_format/course/.../edittitle_form.php 1.0 kB
- project_format/course/.../project/format.php 18 kB
- project_format/course/.../project/import.php 10 kB
- project_format/course/.../import_form.php 4 kB
- project_format/course/.../import_upload.php 3 kB
- project_format/course/.../format_project.php 2 kB
- project_format/course/.../format_project.php 4 kB
- project_format/course/.../project/lib.php 8 kB
- project_format/course/.../restore.php 7 kB
- project_format/course/.../restore_check.php 10 kB
- project_format/.../restore_execute.php 3 kB
- project_format/.../restore_precheck.php 2 kB
- project_format/course/.../restorelib.php 28 kB
- project_format/.../MoodleQuickForm_script.php 0.6 kB
- project_format/.../SharingCart_qtype_cloze.php 1 kB
- project_format/.../SharingCart_qtype_match.php 0.8 kB
- project_format/.../SharingCart_qtype_randomsamatch.php 0.5 kB
- project_format/.../SharingCart_Backup.php 19 kB
- project_format/.../SharingCart_BackupRestoreBase.php 3 kB
$i18n.getText("admin.common.words.show")- project_format-2009022001.zip
- 04/Mar/09 1:34 PM
- 83 kB
- Akio Ohnishi
-
$i18n.getText("admin.common.words.hide")
- projectcourseformat-1.2.zip
- 02/Jan/09 11:51 AM
- 68 kB
- Akio Ohnishi
-
- course/format/project/ajax.php 0.2 kB
- course/format/project/backup.php 3 kB
- course/format/project/backuplib.php 31 kB
- course/format/project/backup_check.php 10 kB
- course/format/project/backup_execute.php 3 kB
- course/format/project/config.php 0.4 kB
- course/format/project/converter.php 21 kB
- course/format/project/db/install.xml 1 kB
- course/format/project/db/upgrade.php 0.7 kB
- course/format/project/editsection.php 2 kB
- course/format/project/edittitle.php 4 kB
- course/format/project/edittitle_form.php 1.0 kB
- course/format/project/format.php 18 kB
- course/format/project/import.php 9 kB
- course/format/project/import_form.php 4 kB
- course/format/project/import_upload.php 3 kB
- course/format/.../en_utf8/format_project.php 2 kB
- course/format/.../ja_utf8/format_project.php 4 kB
- course/format/project/.../course/script.php 2 kB
- course/format/project/lib/filesystem.php 1 kB
- course/format/project/.../form/script.php 0.6 kB
- course/format/project/lib/sync.php 0.3 kB
- course/format/project/lib.php 8 kB
- course/format/project/restore.php 6 kB
- course/format/project/restorelib.php 27 kB
- course/format/project/restore_check.php 10 kB
- course/format/.../restore_execute.php 3 kB
- course/format/.../restore_precheck.php 2 kB
- course/format/project/styles.php 0.4 kB
- course/format/project/upload.php 5 kB
$i18n.getText("admin.common.words.show")- projectcourseformat-1.2.zip
- 02/Jan/09 11:51 AM
- 68 kB
- Akio Ohnishi
Issue Links
| This issue has been marked as being related by: | ||||
| CONTRIB-907 | Sharing Cart Block for duplicating, browsing, and inserting individual activities/resources |
|
|
|
Activity
Hello Don and Everyone,
I am Akio Ohnishi of Version2 Software in Sapporo, Japan. I will be
programming, updating and contributing this code into CVS in the
future. Please let us know of any bugs or requests you have.
Regards, Akio
Don and Akio - It looks like CONTRIB-906 is a patch. Is the code ready that I could have a look at it? Let me know when and where it is and I'll happily take a look. Peace - Anthony
???:
-Flash10???????????????????????
-????????????????????????????????????
-???????????????????????????????????????????????????????????????
Changed:
-corresponded for Flash 10 file upload specification changed.
-Changed upload, backup and restore icons and view area.
-Shared with backup/restore libraries to the Sharing Cart Block.
If Sharing Cart Block exists then syncronize from their libraries.
Thanks for the uploaded file. The one thing I am going to change in order to keep things as modular as possible is to move the help files under /course/format/project/lang/en_utf8/help/project/. They were previously pulled out separately under /lang/en_utf8/help/format/project/. As a result, I changed the helpbutton calls to:
$button = helpbutton('directoryname', get_string('directoryname','format_project'), 'format_project', true, false, '', true);
so that $page is just the file name and the $module is 'format_project". Let me know if you have any questions. I am going to go ahead and upload this to CVS now. Thanks for sharing your hard work with the Moodle community. Peace - Anthony
Don and Akio - I have created a component in the tracker to keep track of issues related to the Project course format and bumped both of your privileges in the tracker so that you can manage issues related to the Project course format. The next step is to read/review http://docs.moodle.org/en/Development:Guidelines_for_contributed_code to make sure that all the little things like adding an entry to the Modules and Plugins database, providing the correct download link, creating documentation pages, etc. are completed. Also, I would like for both of you to apply for CVS write access to contrib/plugins/course/format/project so that you can make changes to the code. Don I made you the component lead so that all new bugs, feature requests, etc. for the Course format: Project component will automatically be assigned to you. If you would prefer them to go directly to Akio that is easily changed but I figured it might be easier for you to have a look and respond to them first simply because most of them will be in English and may not be easily understandable. You can then choose to assign those issues to Akio. Please do not hesitate to let me know if there is anything else I can do to be of help. Peace - Anthony
p.s. - After getting CVS write access, you may want to try updating the installation instructions in the README.txt file just to test the access.
Since the code is in CVS, the tracker is setup, and we are just waiting for Don and Akio to apply for CVS write access at http://moodle.org/cvs I am going to go ahead and resolve this issue. Peace - Anthony
I did catch a PHP notice on backup:
Notice: Undefined variable: course in /home/arborrow/Moodle/code/19stable/course/format/project/backuplib.php on line 224
I am wondering if your really need to declare a global $COURSE and use $COURSE instead of $course since you are not passing $course to the project_backup_get_zipfile_name function.
Also, after I used the global $COURSE I found:
Notice: Undefined property: stdClass::$chat_instances in /home/arborrow/Moodle/code/19stable/course/format/project/backup_check.php on line 128
I think if you do some testing with this with debugging set to show All PHP notices and warnings (not developer mode) you will be able eliminate the notices pretty easily.
Peace - Anthony
Hello!
So does this mean that the course format: project will appear in standard Moodle installations or is this a package that we need to download and install (a "custom" feature) - when it's available?
I've many faculty looking for such a feature and would be interested in testing this on our dev server.
Thank you!
- Mary
- Mary
Mary - Sorry for not responding sooner. This means that the code will be on Moodle's CVS server in the contrib section so it will be 3rd party contributed code (not part of standard Moodle - aka core). So you would need to download and follow the installation instructions. It is sort of like an additional plugin. Peace - Anthony
Don - Just a reminder that the code is ready to be maintained on Moodle's CVS server but I do need you and/or Akio to apply for CVS write access by going to http://moodle.org/cvs/ Peace - Anthony
New versions of Project Course Format.
- PCF now more reliable with question bank and media files
For your information, I made English documentation for the Project Course Format here
http://docs.moodle.org/en/Project_Course_Format
- PCF now more reliable with question bank and media files
Akio - I would like for you to be able to update these yourself in CVS. Please go to http://moodle.org/cvs/ and apply for CVS write access for the project course format and the sharing cart. Peace - Anthony
Don - For the next week or so I will be completing my classes and have many final papers, exams, etc. In short, it is crunch time and I need to focus on the classes to get through the semester. After Dec. 12 I should have more time. If you need a response sooner, let me know and I'll try to squeeze it in but if you can be patient that would be much appreciated. Peace - Anthony