Posts made by Eoin Campbell

Moodle in English -> Book -> Change parent chapter -> Re: Change parent chapter

by Eoin Campbell -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers
You could try using the Microsoft Word File Import/Export (Book) plugin to export the book into a Microsoft Word file. You can then use the Outline view in Word to easily move sections and subsections around. Finally, you can import the Word file back into a Book resource. You really have to create a new Book resource and delete the current one, because the plugin doesn't let you simply replace the existing chapters in the current Book (it would be nice if it did). 
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers
The number of questions directly in a category is displayed inside the brackets. On the course Question bank Categories page, this number does not include questions in sub-categories. When you display questions in a category, there is an option to include questions in subcategories or not. You can use this feature to get the number you want. On the Question tab page of a course Question bank, if you check the "Also show questions from subcategories" box, Moodle displays all the questions in the current category and its subcategories. At the bottom of the page it will have a link like "Show all 51", where 51 is the total number questions.
Average of ratings: Useful (2)
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

The format isn't documented well, but the following three formats worked for me. You can use the users username, idnumber or email address fields to identify the student. Note that the column label must match the fieldname you are using. (The Moodle Upload users documentation defines the field/column names). Set the status column according to the letter defined in the "Acronym" column in the "Status set" page of the Attendance activity. The scantime column can be in any valid date/time format supported by the PHP strtotime() function, and you can also leave it out of the CSV file if you prefer.

1. User ID Number ('idnumber') field as identifier
idnumber,status,scantime
Z9990101,P,2022.06.29 10:00
Z9990102,L,2022.06.29 10:20
Z9990103,E,
2. User email address ('email') field as identifier
email,status,scantime
alice@gmail.com,P,2022.06.29 10:00
bob@gmail.com,L,2022.06.29 10:20
charlie@gmail.com,A,
3. User ID ('username') field as identifier
username,status,scantime
alice.student,P,2022.06.29 10:05
fred.student,L,2022.06.29 10:25
harry.student,E,


Average of ratings: Useful (1)
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

A while back, I released the Microsoft Word file Import/Export (Lesson) plugin, which supports importing a Word file into a lesson activity. Each section of the Word file (delimited by a "Heading 1" style) is imported into a separate page in the lesson. This is quite a quick way to populate a lesson with most of the required content. After import, you can change the default sequential page order to whatever you need.

At present, question pages cannot be imported directly into lessons, however, the most recent version of the Microsoft Word File Import/Export (Question Format) allows questions inside Word tables to be imported into a lesson using the "Import question" facility (see screenshot below).


Average of ratings: -