![]() |
Collapse the "What's Going On?" Block
1 Attachment(s)
Hi all,
I was struggling with a way to add the collapse button to my What's Going On? block and found an Article by cellarius that got me on the right track. That was a good start, but I am a little OCD and did some additional fiddling to make it as vB-compliant as possible. Once I had it done and tested, I figured I would share with the rest of the community with the expectation that somebody else would want to use it to. There is one edit to FORUMHOME and some new CSS, but that is it. I performed this modification on a stock 4.1.10 installation, but it should work on any of the 4.1.x versions. If you have a custom theme/skin, some additional work may be required but the concept is the same... Anyway, here goes! In FORUMHOME, look for: Code:
<h2 class="blockhead">{vb:rawphrase whats_going_on}</h2> Code:
<h2 class="blockhead"> Open additional.css and add this to the bottom (or where it seems to best fit): Code:
.wgo_block .blockhead a.collapse { I hope this is useful and I welcome feedback! |
Any screenshot ? :)
Thanks |
It's pretty basic, but I added some screenshots for you!
|
Thanks, Installed !
(Sorry, but I speak not good english) |
installed
work with 4.1.10 |
nice idea
but little bit complicated to do |
complicated.. that's funny.. This is an easy template mod.
Great job with this one! |
Good work, installed.
Working fine. Thanx |
Really great work! Works perfect. Thanks.
|
great idea thanks ...
|
If anyone uses the Nexia's Forum Sidebar Everywhere product make sure to also edit the FORUMHOME_NEX_SIDEBAR template too! Else it'll be ignored and the WGO box will use the non-collapsible format.
Confirmed to work on vB v4.2.0, working great, thanks! |
Works perfect vb4.1.11 thanks for the template edit...
|
Works perfect vb4.2.0 PL2
|
how do i make it to collapsed by default during page load. i noticed i have to click on the collapse button before it will collapsed.
|
Good job :)
|
how do i make it collapse on page load for every user by default?
|
Quote:
|
I found the button to collapse too high, so I literally added the following in the additionalcss which aligns it perfect in the middle of the block:
Code:
top:-5px; Full code (additionalcss) Code:
.wgo_block .blockhead a.collapse { |
All times are GMT. The time now is 04:44 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|