Moodle in English

Posts made in Moodle in English

Moodle in English -> Lesson Import content in Word files into Lesson pages, questions

by Eoin Campbell -
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: -

Moodle in English -> Quiz Export Question Bank with Questions, Correct Answers and Feedback -> Re: Export Question Bank with Questions, Correct Answers and Feedback

by Eoin Campbell -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers
The WordTable export facility often fails because of invalid XHTML markup somewhere in the original question text. It attempts to clean the HTML using HTMLTidy, but it doesn't always work. You could try to narrow down the error by exporting smaller numbers of questions, until you identify where the broken HTML is. You could also export as Moodle Question XML and inspect the output in a plain text editor for errors if you are proficient in reading XHTML or an XML parser. You could also try using another plugin I created which might be a bit more forgiving of markup errors: HTML Review Page Export (Question Format).
Average of ratings: Useful (2)

Moodle in English -> Quiz Bulk Question upload Issue -> Re: Bulk Question upload Issue (HTML characters)

by Eoin Campbell -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

You need to escape the element start tag delimiters within the HTML in your question and answers, see attached Moodle Question XML file. Replace the left-angle bracket character (<) with the less-than entity (&lt;), e.g. use &lt;tr> not <tr>. You need to do this for the answers as well

Moodle in English -> Glossary glossary search with solr ? -> Re: glossary search with solr ?

by Eoin Campbell -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

1. Hiding the default Glossary search: You could hide the standard search box quite easily, either by using CSS to hide it, or editing the PHP code to remove it.

2. Using Solr to search the Glossary: you could use a Generico filter to configure a glossary-specific search that used Solr to search the glossary in this course only (see this related post: https://moodle.org/mod/forum/discuss.php?d=434583#p1748773).

3. Using Solr to search linked files on NextCloud: this is probably very hard, and would require a lot of custom development. You should first check whether or not Solr actually indexes linked files on Nextcloud or not. Perhaps it all just works already! If not, then as an alternative, you could instead use Nextcloud, which seems to have its own search facilities, see https://apps.nextcloud.com/categories/search. You could probably integrate the Nextcloud search facility into Moodle somehow, and use it to search the glossary in some way. If you host your own Nextcloud instance, then perhaps you could get Solr to index it and use it within Moodle. You would need to get some advice on this from the Nextcloud people.

Average of ratings: Useful (1)