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

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



    • Improvement
    • Status: Reopened
    • Major
    • Resolution: Unresolved
    • 3.2
    • None
    • Themes


      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.)


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



            Unassigned Unassigned
            rjerz Rick Jerz
            Huong Nguyen, Bas Brands, Mathew May
            44 Vote for this issue
            32 Start watching this issue