Griffin, what is the best way to make modules look like the rest of the forum. I want the proper way of doing a wrapper around each module so it looks like bluepearl instead of default with bluepearl colours.
I just need to know where to place the top/bottom of the tables. I do not know if sides would work but I like to give it a try.
Code:
http://www.bluepearl-design.com/forums/showpost.php?p=9089&postcount=1
Do I just empty out the code that obtains too right,left & centre modules and place the code within it?
I was told that in the new CMP v2.0 that there is a module wrapper that does this automatically. I am going to my amdincp and see if I can find it.
Ok I did what Conqsoft told me @ vbadvanced & got this code modification to CMPv2.0 adv_portal_module_shell.
My URL is
UserName : test
Password : test
PHP Code:
$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>