XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 2.2
    • 2.1, 2.2
    • Blocks
    • MOODLE_21_STABLE, MOODLE_22_STABLE
    • MOODLE_22_STABLE
    • MDL-30340.sticky_category_blocks
    • Moderate
    • Hide
      1. Ensure you have one course-category in the site (let's call it "parentcat") with at least one child category ("childcat").
      2. Ensure both the parentcat and the childcat have some course with activities under them.
      3. Create one block (html for example) at "parentcat" course-category level
      4. Set it to be shown in any page (display on pagetypes) and for "parentcat" context and pages within it (page contexts).
      5. TEST: The block is show in the "childcat" page and also in any of its courses and the activity pages of the courses.
      6. TEST: The block is show in the "parentcat" page and also in any of its courses and the activity pages of the courses.
      7. Go to any course-activity (say, one forum in one course of "parentcat") and edit the block there.
      8. TEST: The "display on pagetypes" setting shows "any page"
      9. Change that setting to "any forum module page" and save changes
      10. TEST: The block is displayed in the forum pages.
      11. TEST: The block is displayed in other forum activities.
      12. TEST: The block is displayed in the forums belonging to courses of the "childcat" category.
      13. TEST: The block is NOT displayed in other activitites (non-forums).
      14. TEST: The block is NOT displayed in course page.
      15. TEST: The block is NOT displayed in "childcat" page.
      16. TEST: The block is NOT displayed in "parentcat" page.
      17. Go to any forum and edit the block
      18. TEST: the "display on pagetypes" shows "any forum module page" (as you picked some points above).
      19. TEST: There is one "any page" available the last in the list.
      20. Select that "any page" option and save the settings.
      21. TEST: The block is displayed in the forum where you have edited it.
      22. TEST: The block is displayed in any activity of the course.
      23. TEST: The block is displayed in the course page, and can be edited there, with the "display on pagetypes" showing "any page".
      24. TEST: The block is NOT displayed in "childcat" page.
      25. TEST: The block is NOT displayed in "parentcat" page.
      Show
      Ensure you have one course-category in the site (let's call it "parentcat") with at least one child category ("childcat"). Ensure both the parentcat and the childcat have some course with activities under them. Create one block (html for example) at "parentcat" course-category level Set it to be shown in any page (display on pagetypes) and for "parentcat" context and pages within it (page contexts). TEST: The block is show in the "childcat" page and also in any of its courses and the activity pages of the courses. TEST: The block is show in the "parentcat" page and also in any of its courses and the activity pages of the courses. Go to any course-activity (say, one forum in one course of "parentcat") and edit the block there. TEST: The "display on pagetypes" setting shows "any page" Change that setting to "any forum module page" and save changes TEST: The block is displayed in the forum pages. TEST: The block is displayed in other forum activities. TEST: The block is displayed in the forums belonging to courses of the "childcat" category. TEST: The block is NOT displayed in other activitites (non-forums). TEST: The block is NOT displayed in course page. TEST: The block is NOT displayed in "childcat" page. TEST: The block is NOT displayed in "parentcat" page. Go to any forum and edit the block TEST: the "display on pagetypes" shows "any forum module page" (as you picked some points above). TEST: There is one "any page" available the last in the list. Select that "any page" option and save the settings. TEST: The block is displayed in the forum where you have edited it. TEST: The block is displayed in any activity of the course. TEST: The block is displayed in the course page, and can be edited there, with the "display on pagetypes" showing "any page". TEST: The block is NOT displayed in "childcat" page. TEST: The block is NOT displayed in "parentcat" page.

      This was detected when researching about MDL-30340

      Right now it's not possible anymore to define one course-category block to be spread to subcontexts, where such facility was originally available in 20_STABLE.

      So we are going to introduce the "*" (any page) option back for those blocks.

      Note that there is one big issue with these course-category pages and how they have a horrible "duality", sometimes being admin-course-category pages (when editing cats) and page-course-category pages when browsing them. That prevents us to add other pagetypes support for the blocks like "in this coursecat page" or "in all coursecat pages". But luckly, it does not prevent to add the '*' option, so we'll be able to spread the block to children cats/courses/modules.

      To fix the "duality" MDL-30564 has been created (DEV backlog).

            stronk7 Eloy Lafuente (stronk7)
            stronk7 Eloy Lafuente (stronk7)
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Martin Dougiamas Martin Dougiamas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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