Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-3249

Quickstructure block - request for test/reviewed

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 2.1
    • None
    • MOODLE_21_STABLE

      request code be tested and reviewed -
      https://github.com/drcheckers/moodle-block_quickstructure

      README block_quickstructure v2.0

      Quickstructure is a moodle 2 block that allows course editors to quickly format
      a course with coloured section title strips and thumbnails.
      We've found these helpful to give students visual clues of the course structure.

      In addition, the strips and thumbnails can be automatically used to form a top level
      menu - an easy and visually appealing method of avoiding the infamous moodle SOD
      ('scroll-of-death').

      Installation

      Installation is complicated by the need to install a moodle form 'widget'
      for a popup colour picker.

        • Colour Picker
          The colour picker popup widget - requires two changes to the source
          oustide of the block

      #1. Put provided copies of
      lib/form/colourpopup.php
      lib/form/colourpopup.js
      into your lib/form directory

      #2. Patch lib/formslib.php [currently starting line 2351] to add the colourpopup element

      MoodleQuickForm::registerElementType('advcheckbox', "$CFG->libdir/form/advcheckbox.php", 'MoodleQuickForm_advcheckbox');
      MoodleQuickForm::registerElementType('button', "$CFG->libdir/form/button.php", 'MoodleQuickForm_button');
      MoodleQuickForm::registerElementType('cancel', "$CFG->libdir/form/cancel.php", 'MoodleQuickForm_cancel');
      MoodleQuickForm::registerElementType('searchableselector', "$CFG->libdir/form/searchableselector.php", 'MoodleQuickForm_searchableselector');
      MoodleQuickForm::registerElementType('checkbox', "$CFG->libdir/form/checkbox.php", 'MoodleQuickForm_checkbox');
      MoodleQuickForm::registerElementType('colourpopup', "$CFG->libdir/form/colourpopup.php", 'MoodleQuickForm_colorpopup');
      MoodleQuickForm::registerElementType('date_selector', "$CFG->libdir/form/dateselector.php", 'MoodleQuickForm_date_selector');
      MoodleQuickForm::registerElementType('date_time_selector', "$CFG->libdir/form/datetimeselector.php", 'MoodleQuickForm_date_time_selector');
      MoodleQuickForm::registerElementType('duration', "$CFG->libdir/form/duration.php", 'MoodleQuickForm_duration');
      MoodleQuickForm::registerElementType('editor', "$CFG->libdir/form/editor.php", 'MoodleQuickForm_editor');
      etc ...

        • Quickstructure Block
          The quickstructure block folder needs moving to blocks folder
          Install as per any other block - by visiting the admins 'notifications' page

      Further information at
      http://drcheckers.wordpress.com/2011/11/05/quickstructure-release-for-moodle-2-0/

      Emails of gratification to igc@kgv.hk
      Limited support available - too many other jobs that pay the mortgage take priority

      Iain Checkland
      http://drcheckers.wordpress.com/

      Revision history
      20111105 Initial Release

            nobody Nobody (Inactive)
            drcheckers Iain Checkland
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.