Is there a way to disable the sidebar "hiding" function?
I want it to be static.
Printable View
Is there a way to disable the sidebar "hiding" function?
I want it to be static.
There is no built-in way to do that, but you should be able to make it virtually un-clickable if you add the following code to the vw-additional.css template:
Code:.vw-side-switch { max-height: 0px; max-width: 0px; overflow: hidden; }
Thank you. I'll try that. I'm currently digging through the sideblock templates to make some custom sideblocks (even though I saw you said not to do that). Do you have plans in the future to allow for custom sideblocks?
Yes, there are plans to make custom sideblocks easier if they are just going to be static HTML.
Currently, you need to do some programming for a new sideblock to work.
1. You need to create an entry in the vw_block table with a unique varname for the block.
2. You need to edit the new block from the Admin Panel so that a cache entry for it is generated.
3. You need to create a PHP class under vault/core/model/block that extends from vw_Block_Base_Model. If the block will be shown, ::make should return a non-empty value (including any pre-processed data).
4. You need to create a PHP class under vault/core/view/factory/block that actually returns the block's HTML.