Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-2935

Support site plugins for blocks on dashboard page

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor Minor
    • 3.7.0
    • 3.6.1
    • Blocks
    • Hide
      1. Unzip the attached block_stupid.zip, and move the 'stupid' folder into the 'blocks' folder of your Moodle installation.
      2. Go to the admin page on your Moodle installation to install the stupid block.
      3. In site administration go to Appearance / Default dashboard settings.
      4. Click 'Blocks editing on' and add an instance of the 'Proportion of site which is stupid' block to the middle of the page. (Note: I don't think the mobile app actually follows the ordering of blocks, so it probably doesn't actually matter where you put it.)
      5. Click "Reset Dashboard for all users".
      6. In the mobile app, connect to your site. (If you already accessed it, you will need to kill the app and reload it so that it updates the site settings.)
      7. Go to the Dashboard tab.
        • EXPECTED: When the dashboard page appears in the app, it should include the stupid block, which contains a pie chart showing a random percentage of stupid and not stupid.
      8. Pull down the page to refresh.
        • EXPECTED: The pie chart should reload with different random values.
      Show
      Unzip the attached block_stupid.zip, and move the 'stupid' folder into the 'blocks' folder of your Moodle installation. Go to the admin page on your Moodle installation to install the stupid block. In site administration go to Appearance / Default dashboard settings. Click 'Blocks editing on' and add an instance of the 'Proportion of site which is stupid' block to the middle of the page. (Note: I don't think the mobile app actually follows the ordering of blocks, so it probably doesn't actually matter where you put it.) Click "Reset Dashboard for all users". In the mobile app, connect to your site. (If you already accessed it, you will need to kill the app and reload it so that it updates the site settings.) Go to the Dashboard tab. EXPECTED: When the dashboard page appears in the app, it should include the stupid block, which contains a pie chart showing a random percentage of stupid and not stupid. Pull down the page to refresh. EXPECTED: The pie chart should reload with different random values.
    • MOODLE_36_STABLE
    • MOODLE_37_STABLE
    • Moodle App 3.7.0

      The app currently supports blocks on the dashboard page (the one that normally has a course list when you start the app). Some specific core blocks are supported.

      We would like it to be possible to add support for extra blocks on this page as plugins from Moodle, without altering the app code. This will allow sites to add custom content that appears below the list of courses.

      I have attached a sample block called block_stupid. This feature will require developer documentation on the wiki - if it's approved, I plan to write the wiki page based on this example.

            quen Sam Marshall
            quen Sam Marshall
            Dani Palou Dani Palou
            Juan Leyva Juan Leyva
            Dani Palou Dani Palou
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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