local:my:technique

Improved My Moodle Technical Guide

Local my plugin settings

  • Enable “my” customisation: If checked, and the “customscript” is correctly set up, the standard “my” page is replaced by the “Improved My Moodle” page.
  • Force “My page” mode: If checked, and the modifications of the standard 'index.php' page are made, it will be impossible for a user to reach the general home page of the site, unless they hold the bypass capability local/my:overridemy.
  • Ignore metacourses: If “yes” then metacourses (which inherit enrolments through a meta relationship) will not be displayed in the lists. In this case, metacourses are considered to be teaching sub-modules linked to a main course which will itself provide the navigation to its sub-modules.
  • Courses to exclude: Courses can be excluded on the basis of a list of their ids, separated by commas

Active modules

This is where you choose the widgets to display. They must be entered by name and in display order for each role:

  • Active modules for administrators: List of widgets to display for an administrator
  • Active modules for coordinators: List of widgets to display for a course coordinator
  • Active modules for teachers: List of widgets to display for course teachers
  • Active modules for students: List of widgets to display for students

Course areas settings

“Course areas” indicate a number of courses that must be presented in specific areas of the my page. Each course area (Course_area and Course_area2 widgets) can point to up to 9 specific areas.

That is, as soon as a course category is chosen in a course area, the courses of this category are listed nowhere else, even if they meet the criteria of another widget. They will therefore be excluded from the display of the calling widget and will appear in the designated course area.

Added value:

Course areas are mainly used to force certain courses or course spaces to appear in specific sets for a semantic or functional reason.

See examples

Accessory tools for course lists

  • Show categories: This setting must be enabled to display the course category titles.
  • Show full paths under categories: Gives a list of root categories under which the full paths will be displayed. Other categories will only show the current category. If left empty, all categories display the full path.
  • Root categories: When displaying categories as full paths, you can give here a list of category ids above (inclusively) which the path will not be mentioned.
  • Show course identifier: Choose from the dropdown. None: The course is listed with nothing else - Short name: The course is listed prefixed by its shortname - ID number: The course is listed prefixed by its ID number
  • Maximum size of the available courses list:
  • Max list size without categorisation: Default 10. This setting adjusts the number of list items below which courses will be displayed without mention of the category.

HeatMap settings

* HeatMap depth: This setting (6 by default) sets the number of months over which the users' histories will be explored to fill in the activity density grid. This setting also affects the visual width of the widget.

Course category areas settings

Two category areas by default

  • Categories of area A 0: example 19,29,312 to display these course categories
  • Categories of area A 1: example 25,9,2 to display these course categories

Graphic settings

  • Dashboard layout: This setting lets you choose the general construction of the dashboard among 4 possible layouts:
    • Front page: A layout similar to Moodle's entry page.
    • One column: A very simple one-column layout like some administration screens. You cannot add blocks to this layout.
    • Two columns: A layout with an additional column of non-collapsible blocks, to impose fixed blocks in the layout.
    • Drawers: A course-like layout, with collapsible block and navigation drawers.
  • Enable the slider: If inactive, blocks will be displayed in a grid without sliding effect. If active, courses are displayed in a slider with buttons to slide forward/backward.
  • Renderer image: Default image used for courses with no illustration in the course settings.
  • Hyphenation mode: Hyphenation method on course titles and descriptions in the boxes: character or word, as you choose
  • Hide descriptions: Hide the course descriptions in the course boxes
  • Add detailed indicators: Show or hide the activity completion indicators (based on standard Moodle completion) at the bottom of the course boxes
    • Progress bar type: Gauge, Bar (default) or Donut
    • Progress bar height: Default: 20px
    • Progress bar width: Default: 100%

* Thumbnail width threshold: The width mentioned will determine the selection for a course thumbnail. Files wider than this value will naturally be chosen as the course banner. Files narrower will correspond to thumbnails. The most recent file will be chosen by default. * Opacity effect or Halo effect: To get a graphic effect on course thumbnails when hovering with the mouse.

Integration constraints

  • Customscripts: yes, to replace the standard /my.php page
  • Inclusion in the site index: yes
  • Patches: optional

Capabilities

local/my/technique.txt · Dernière modification : de 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki