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

Add support for "collapsing" (hiding/showing) blocks in theme "boost"

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Reopened
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.2
    • Fix Version/s: None
    • Component/s: Themes
    • Labels:

      Description

      The Boost theme removed the two upper-right icons in blocks that provided the ability to "collapse" and "dock" side blocks. In MDL-56018, a request to add "docking" was alleviated because of "something new," probably the newer side bar. I can understand this.

      However, I believe that there is still a need to be able to collapse the blocks, meaning that the little "minus" icon should be retained. I believe this because some blocks can get pretty long, and some blocks might not be useful to students, so I desire that students should be able to collapse these blocks.

      For example, I use the RSS feed blocks to provide easy access to my lecture videos (using podcast technology.) At the end of my semester, this list grows pretty long (see attached graphic.) Additionally, I like to also use a redundant RSS feed block for open-captioned versions of my videos, again long. I like to tell students that they can collapse the block that is of no interest to them.

      As another example, I provide both the Calendar block and the Upcoming Events block. I like the ability for students to collapse either of these if they happen to prefer one over the other.

      So I request that the "minus" icon be retained on blocks in the Boost theme. I think that this becomes even more important with Boost since we now have only one side column for blocks. (Incidentally, I really am eager to switch from MORE to Boost, but this inability to collapse blocks might be a show-stopper.)

        Attachments

        1. RSS Feed Block.jpg
          RSS Feed Block.jpg
          137 kB
        2. Blocks01.jpg
          Blocks01.jpg
          168 kB
        3. course_renderer.php
          4 kB
        4. To Collapse Right-side Blocks.txt
          5 kB
        5. To Collapse Right-side Blocks-Working in Moodle 3.7.txt
          5 kB
        6. To Collapse - block.mustache Changes.jpg
          To Collapse - block.mustache Changes.jpg
          345 kB
        7. core_renderer.php
          3 kB
        8. block.mustache
          2 kB
        9. collapseblocks.min.js
          0.5 kB
        10. collapseblocks.js
          2 kB
        11. core_renderer-1.php
          3 kB

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            rjerz Rick Jerz
            Participants:
            Component watchers:
            Bas Brands, Mathew May
            Votes:
            44 Vote for this issue
            Watchers:
            32 Start watching this issue

              Dates

              Created:
              Updated: