Posts made by Joseph Rézeau

Picture of Core developers Picture of Plugin developers Picture of Testers Picture of Translators

Now I understand better what you meant in your first message.wink

Alan > If you create a new entry but dont assign it to a category, at demo.moodle.org which uses moodle 1.6.2,  then the entry does not appear on the Browse Categories tab, until you select Not categorised.

The logic of the glossary categories is as follows:

  • All categories = words belonging to Category A, words belonging to Category B, words belonging to Category Z...
  • Category A = words belonging to Category A
  • Not categorised = words not belonging to any category.
Alan > The testers here did not create any Categories to add the new entries to, so they should be assigned to 'Not categorised' but that category dont show up.

If there are no categories in one glossary, then new entries are assigned to the default Not categorized "category". But this means it is useless to click on the Browse by category button. If you do, the Glossary display defaults to All categories, which is of course empty, and says so "No entries found in this section". To view your uncategorized words you have to select Not categorized from the drop-down list.

This is not a bug, just expected, logical behavior.

The only improvement which could be made to the Glossary display mechanism would be to hide the Browse by category button when no categories have been created in the Glossary. And to display that Browse by category button upon creation of at least one category and containing at least one entry...

Joseph

Moodle in English -> Glossary -> Behaviour is wrong? -> Re: Behaviour is wrong?

by Joseph Rézeau -
Picture of Core developers Picture of Plugin developers Picture of Testers Picture of Translators
Alan > 1.  When adding an entry, the default category 'Not categorised' does not show up on the 'Browse by category' tab under 'All Categories'. But if selected from the drop down, all 'Not categorised' entries are displayed. Is this a bug or is there a reason which explains this behaviour.

Not sure I understand what you mean by "when adding an entry etc." This is what happens to me, using Moodle 1.6.3.

1-Browsing a Glossary (containing a certain number of categories)
  1. Go to Glossary. By default the Browse by alphabet display mode is on.
  2. Click on Browse by category.
  3. All categories is displayed by default, the drop-down list shows: All categories.
  4. Clicking on the dropdown list opens it, with Not categorized at the top, followed by the list of the glossary categories.
2-Adding an entry
  1. Click the Add a new entry button.
  2. Screen shows (blank) fields: Concept, Keywords and the HTML editor for entering a Definition.
  3. Screen also shows Categories list, with again Not categorised at the top of the list of categories.
Could you tell us a) which of these two procedures poses you a problem and b) where exactly in the procedure you see something different from what I see?

Joseph

Attachment image00.jpg
Picture of Développeurs Picture of Développeurs de plugins Picture of Testeurs Picture of Traducteurs
Hello Mathieu,
La réponse est OUI. Attention à la syntaxe:
{:REGEXP: (|malheureusement )non mais je compte (le faire|y remédier)#bien j'attendrai alors~=(oui|en effet|c'est le cas).*#chouette alors, et où peut-on le trouver ?}
Sur mon site de test, Course 101, utilisateur moodler, mot de passe moodler... Topic 1: le quiz What is Moodle? - Cloze comporte une question unique de type Cloze, qui contient différents types de questions dont une de type REGEXP dont voici le code.
The word Moodle was originally an {1:REGEXP:~%100%acronym#Excellent!~%0%--.*nym$#Your answer should end in “-nym”.~%0%--^[aeiou].*#The missing word should start with a vowel (because it's preceded by the indefinite article an).~%0%--^acro.*#The missing word starts with the root-word acro, from the Greek akros "tip, end".~%0%.*#anything goes} for Modular Object-Oriented Dynamic Learning Environment, which is mostly useful to programmers and education theorists.
Joseph