PDA

View Full Version : How disable option collapse in forum block?


gnrx
03-14-2018, 09:30 AM
Hello.
I search in the user groups permissions and config in admincp, but I not view this option.
Its possible disable de option for collapse de block forum or sidebar?

Attach a image.

Thanks in advanced

scottkoz20
03-14-2018, 02:01 PM
yes

Styles & Templates -> Styles Manager -> Select your Style -> Block Templates ->

edit you block_html (or whatever block it is)



find this
<div class="blocksubhead">

and comment out the following below
<a class="collapse" id="collapse_block_html_{vb:raw blockinfo.blockid}" href="{vb:raw relpath}#top"><img alt="" src="{vb:stylevar imgdir_button}/collapse_40b.png" id="collapseimg_html_{vb:raw blockinfo.blockid}"/></a>

gnrx
03-14-2018, 04:33 PM
Thank you very much scottkoz20!

Perfect, works perfect!!! Thanks!!

Although it is not the initial topic, but ... in the html blocks I am obliged to put a title (even a point), would it be possible to put a blank space or that title is not necessary?

Again, thank you!!

scottkoz20
03-14-2018, 04:51 PM
no worries - its nice to finally add something that works for someone :D

as for the title - i don't know if there is a way to remove a field requirement

gnrx
03-14-2018, 04:54 PM
no worries - its nice to finally add something that works for someone :D

as for the title - i don't know if there is a way to remove a field requirement

This last question, not as important to me as the first one, I would like to be able to do it but ... if it is not possible no problem :D

You were really helpful, I had been trying to make that change for a long time.

Again, thank you very much!! :)

romaine
03-17-2018, 03:38 AM
I think you don't need to remove it from template, just check its CSS class and making a display:none on additional.css for that class and it is done.

scottkoz20
03-17-2018, 01:04 PM
i am terrible at CSS functionality; but that is why I said to comment out, so the code is still there :)

gnrx
03-21-2018, 11:12 PM
I think you don't need to remove it from template, just check its CSS class and making a display:none on additional.css for that class and it is done.

Thanks, but I don't know how made this.

Regards!