Block collapse button missing in Moodle 3.10

Block collapse button missing in Moodle 3.10

por Andrej Vitez -
Número de respostas: 4
Imagem de 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.

Média das avaliações:  -
Em resposta à Andrej Vitez

Re: Block collapse button missing in Moodle 3.10

por Andrej Vitez -
Imagem de Plugin developers
Huh, no one, really? :\
Em resposta à Andrej Vitez

Re: Block collapse button missing in Moodle 3.10

por Davo Smith -
Imagem de Core developers Imagem de Particularly helpful Moodlers Imagem de Peer reviewers Imagem de 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).
Em resposta à Davo Smith

Re: Block collapse button missing in Moodle 3.10

por 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

Em resposta à Davo Smith

Re: Block collapse button missing in Moodle 3.10

por Andrej Vitez -
Imagem de 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.