PDA


View Full Version : How Do I Increase or Decrease Module Size


LEAD_WEIGHT
06-05-2005, 12:20 AM
How do I increase or decrease default module size. Do I go and edit adv_portal_module_shell or somewhere else. :confused:

This is the shell edited a bit but I guess I might of done something of:

$mods[formcode]
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td width="30" height="50"><img src="forums/images/bluepearl/misc/t1.jpg" border="0" width="30" height="50"></td>
<td width="100%" height="50" background="forums/images/bluepearl/misc/t3.jpg" align="left"><img src="forums/images/bluepearl/misc/t2.jpg" border="0" width="64" height="50"><!--<img src="forums/images/bluepearl/misc/tforums.jpg" border="0" width="122" height="50">--></td>
<td width="24" height="50"><img src="forums/images/bluepearl/misc/t4.jpg" border="0" width="24" height="50"></td>
</tr>
<tr>
<td width="30" background="forums/images/bluepearl/misc/t5.jpg"></td>
<td width="100%" bgcolor="#5C71CA" valign="top">
<table align="center" class="page" cellspacing="0" cellpadding="0"width="100%">
<tr valign="top">

<thead>
<tr>
<td class="tcat" colspan="$mods[colspan]">
<if condition="$vba_style['portal_collapsemods']">
<a href="#top" onclick="return toggle_collapse('module_$mods[collapse]')" style="float:$stylevar[right]"><img alt="" border="0" id="collapseimg_module_$mods[collapse]" src="$stylevar[imgdir_button]/collapse_tcat$modimgcollapse.gif" /></a>
</if>
<span class="smallfont"><strong>$vba_style[portal_blockbullet] <if condition="$mods['link']"><a href="$mods[link]">$mods[title]</a><else />$mods[title]</if></strong></span></td>
</tr>
</thead>
<tbody id="collapseobj_module_$mods[collapse]" style="$modcollapse">
<if condition="$show['tablerow']">
<tr>
<td class="$bgclass">
$modulehtml
</td>
</tr>
<else />
$modulehtml
</if>
</tbody>
</table>
<div><img src="$vboptions[bburl]/$vboptions[cleargifurl]" height="$vba_style[portal_vspace]" alt="" /></div>

<if condition="$mods['formcode']"></form></if>

<td width="24" background="forums/images/bluepearl/misc/t6.jpg"></td>
</tr>
<tr>
<td width="30" height="31"><img src="forums/images/bluepearl/misc/t7.jpg" border="0" width="30" height="31"></td>
<td width="100%" height="31" background="forums/images/bluepearl/misc/t8.jpg" align="right"><img src="forums/images/bluepearl/misc/t10.jpg" border="0" width="26" heigth="31"></td>
<td width="24" height="31"><img src="forums/images/bluepearl/misc/t9.jpg" border="0" width="24" height="31"></td>
</tr>
</table>

ConqSoft
06-05-2005, 12:22 AM
Its size will be dependent on its content. (If you're talking about its height.)

For width, it'll be whatever width you have your left/right columns set, or whatever width your center happens to be.

LEAD_WEIGHT
06-05-2005, 12:27 AM
Its size will be dependent on its content. (If you're talking about its height.)

For width, it'll be whatever width you have your left/right columns set, or whatever width your center happens to be.

That has not been change just the adv_portal_module_shell & it is taking prioity over the default settings.

ConqSoft
06-05-2005, 12:27 AM
I don't know what you're talking about...

ConqSoft
06-05-2005, 12:29 AM
If you are talking about the width, it should be set to 100% in your template shell. The outer table cells will determine its width.

LEAD_WEIGHT
06-05-2005, 12:37 AM
If you are talking about the width, it should be set to 100% in your template shell. The outer table cells will determine its width.

Thanks again, I do not know why 175px width was not working as default size since it is the same module from CMP v1.0.1 .