Block collapse button missing in Moodle 3.10

Block collapse button missing in Moodle 3.10

by Andrej Vitez -
Number of replies: 4
Picture of Plugin developers

Hi everyone!

Recently we upgraded from 3.5 to 3.10 and I've noticed that blocks do not have collapse/expand buttons anymore. I've dig a bit into source code and found out allowuserblockhiding setting which is enabled but it's not being used in block rendering context (mustache, javascript) or I can't find it.

Is this feature of show/hide blocks still supported by 3.10 classic theme or am I doing something wrong?

Same thing with docking, also not rendering per block.

Average of ratings: -
In reply to Andrej Vitez

Re: Block collapse button missing in Moodle 3.10

by Andrej Vitez -
Picture of Plugin developers
Huh, no one, really? :\
In reply to Andrej Vitez

Re: Block collapse button missing in Moodle 3.10

by Davo Smith -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
Is this related to a problem with some code you're working on - if so, a link to the code might help get answers. If not, then you might have more success posting somewhere other than the developer forum (which is specifically for questions about writing Moodle code).
In reply to Davo Smith

Re: Block collapse button missing in Moodle 3.10

by Snezana Rajacic -

Hi !

I am using Theme Lambda, and I also can not make blocks being collapsible in the version 3.10  ! In the version 3.5+, everything worked well, but after upgrade to 3.10, blocks simply are not collapsible, although I've checked every possible settings.

Does somebody have any solution ? I think that this is really important issue.

Sneza

In reply to Davo Smith

Re: Block collapse button missing in Moodle 3.10

by Andrej Vitez -
Picture of Plugin developers
Hi Davo,

thx for your reply!

The problem is related to block collapsing feature. Not really sure if it has been discontinued in version Moodle 3.10. Check out the following image from version 3.5.

blocks

This collapse/shrink/hide button is missing in 3.10 using custom theme that extends boost theme. As I've noticed from 3.5 source code some block action functionalities are not available on 3.10.
So I was wondering whether the collapse feature is still available somehow or I have to implement it myself within the theme.
My clients find this feature extremely useful.