-
Improvement
-
Resolution: Done
-
Minor
-
None
-
4.0
-
MOODLE_400_STABLE
- Add Label in a course section.
- Click on the Label's "link" in the course index menu.
NOTE: Links for Labels appear in Course Index ONLY for Teachers / Managers / Admins and ONLY in the Edit mode - This in itself might be objectionable - Labels are often used as section sub-headings / separators etc., and might be useful for students to see in the course index. - a) Expected behaviour: After clicking the user should be taken to the place in the course where the label can be accessed in full.
b) Encountered behaviour: Except for the border formed around the opening snippet representing the label in the course index menu - nothing else happens, most likely because there is no target link associated with the label course item.
Comment: It is technically possible to navigate to a label using the course link (or section link if "Show one section per page" is set in the course settings > course format ) when it is followed by the resource's ID given as a "module" bookmark, e.g. "#module-38" (where 38 is the resource ID number of the label). Example for one of the labels in the Activity Examples course on QA (if all sections on one page is used) - prior login on the QA site required for the bookmark appendix to work:
https://qa.moodledemo.net/course/view.php?id=2#module-23
For "Show one section at a time" the base URL link would need to point to the section where the label is placed, like this:
https://qa.moodledemo.net/course/view.php?id=2§ion=7#module-23
4. (Still in the edit mode) Even if a working link to a label is applied (in the browser's address field) and the page then scrolls to the label's correct place on the course page, the Course index item for that label is not highlighted (likely because of the lack of the associated URL mentioned in 3b above).