Quote:
Originally Posted by kh99
The system is designed to default to expanded, and when a user collapses a block, the name of that block is listed in a cookie. Then when a page loads, a javascript function checks the vb_collapse cookie for a list of blocks that are collapsed and hides them. So you could modify the block_html template to default to collapsed, but since there's no js code that looks to expand collapsed blocks after the page loads, it will always load as collapsed.
You could write your own js to allow for default collapsed blocks, and modify the block_html template (I believe it's the class="collapse" that the built-in vb collpase system looks for). I don't thin k it would be too difficult (unless you don't know any js of course).
|
vBulletin 4.2.1
You say that the system is designed to default to expanded, but in our forum, the sideblock is collapsed by default. I'd like to know where/how to change this so the sideblock is displayed by default.
Snowhog
Added:
Hmm. Okay, the sidebar does display un-collapsed to guests. I logged out and accessed our forum Home page without logging in, and see the sidebar fully open.
Why, as a logged in user, is the sidebar collapsed. Is it a setting within the AdminCP that I can change?
Added:
Ah, so it is cookie controlled! As the 'guest', and on the Home page and the sideblock displayed, I logged in. The sideblock remained displayed!
Live, experiment, and learn!!