Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-42927

Remove blocks from displaying for IMS CP modules

XMLWordPrintable

      We recently started using IMS content packages on our site and someone remarked how can they get rid of the blocks that displayed on the page. Before, we were able to tell them to dock their blocks, but we turned off block docking for usability and support reasons.

      I found that just changing the pagelayout to "base" works for both the regular default theme and the new bootstrap based themes.

      There is a curious code comment in the view.php file:

      //TODO: find some better way to disable blocks and minimise footer - pagetype just for this does not seem like a good solution
      //$PAGE->set_pagelayout('maxcontent');

      I don't know why it wasn't a good solution in the past. Let me know if there are any problems.

            rex Rex Lorenzo
            rex Rex Lorenzo
            Sam Hemelryk Sam Hemelryk
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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