![]() |
how to make a module collapse?
Currently, i'm using a weather module that could'nt collapse, could any help me with this problem? Im using 3.50 and its on the right column side.
P.S - also seems that whenever i put any module after the weather module (CMPS module order) it messes up my table.. the modules aftter the weather module uses the whole 100% width of the screen, in which it shouldve jsut stayed in the right column width instead... I appreciate any Help with any of those 2 problems ...=) JOhnny P. |
Code:
<tbody> For your weather module i'll have to see your weather module template. |
this is my weather module template:
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%"> <tr> <td class="tcat"><span class="smallfont"><b>$vba_options[portal_blockbullet] Weather Conditions</b></span></td> </tr> <tr> <td class="$getbgrow"><span class="smallfont"> <if condition="!$bbuserinfo['userid']"> <span class="smallfont">Registered members can see their local weather conditions here.<br /><br /><phrase 1="$vboptions[bburl]">$vbphrase[not_a_member_yet_register_now]</phrase></span> <else /> <if condition="$bbuserinfo[field15] !=''"> <a href="http://www.weatherroom.com/forecast/$bbuserinfo[field15].html"><img src="http://www.weatherroom.com/weather?forecast=zone&hwvtc=black&hwvbg=E1E4F2&pan ds=$bbuserinfo[field15]&config=png&alt=hwivzone&daysonly=1" alt="Weather for $bbuserinfo[field15] provided by weatherroom.com." border="0"></a> <else /> <A HREF="$vboptions[bburl]/profile.php?do=editprofile">Add Zip Code</A> to show weather conditions. </if> </if> </span> </td> </tr> </table> <br/> So how would you go about adding this into a collapseable module? |
Are you using vbadvanced cmps ? In vbadvanced if you upgrade to version 2.0 then you'll have a option to add a collapse image to each module you have. If you are using cmps 2.0 then you may enabled adv_module_shell template usage in this module which may cause a problem to you.
Anyway give a shot with this. Code:
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%"> |
There's only an option to turn on/off the collapse for ALL THE MODULES or none at all.. I dont want that.. i need just 1 of the modules to close ....
Nice try.. but that didnt work... J.P |
This is not a general vB question. Please post your questions in the thread about this hack, or on their own support site.
|
All times are GMT. The time now is 08:24 PM. |
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:
|