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

Pagetypes: Find a fix for core component and plugin overlaps before 2.1 release

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 2.1
    • 2.1
    • Blocks
    • Any
    • MOODLE_21_STABLE
    • MOODLE_21_STABLE
    • MDL-27829_block_pagetype_master
    • Hide

      To test you need to add a block to a variety of pages then edit the block's settings and check the "display on page types" drop down. The set of options that should be available are listed below. The ordering of the options isn't important.

      on a course main page:
      any page
      any course page
      any type of course page

      on a quiz:
      any quiz module page
      edit quiz page

      on a database activity:
      no drop down as this is handle automatically.

      on a course report like the course activity report (Courses > course name > Reports > activity report):
      any page
      any course report
      just the current course report ie "Activity course report"

      on an admin setting page like Advanced features (Site administration > Advanced features):
      The current admin setting page
      Any admin setting page

      Show
      To test you need to add a block to a variety of pages then edit the block's settings and check the "display on page types" drop down. The set of options that should be available are listed below. The ordering of the options isn't important. on a course main page: any page any course page any type of course page on a quiz: any quiz module page edit quiz page on a database activity: no drop down as this is handle automatically. on a course report like the course activity report (Courses > course name > Reports > activity report): any page any course report just the current course report ie "Activity course report" on an admin setting page like Advanced features (Site administration > Advanced features): The current admin setting page Any admin setting page

      Hi Andrew,

      As discussed just before MDL-26105 has been integrated with master now but before the release of 2.1 we need to find a solution for overlap problems arising from a crossover between core components and plugins.
      To test the problem add a block to a course report page - inspect the block_instance table, edit the block and look at the setting options (all course related) and after saving watch what happens to the block_instance table.
      While discussing it we wondered about the idea of allowing overriding callbacks built by looking at the raw pagetype.

      Yell out if you have any questions.

      Cheers
      Sam

            andyjdavis Andrew Davis
            samhemelryk Sam Hemelryk
            Sam Hemelryk Sam Hemelryk
            Sam Hemelryk Sam Hemelryk
            Helen Foster Helen Foster
            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.