PDA


View Full Version : Make the border the same as my forum


nastea
06-04-2005, 02:54 PM
I'm running CMPS as my main page, how can i make it so the "modules" have the same setup as my forums.

www.dcevoclub.com
forums:
http://forums.dcevoclub.com/index.php?

i'm specifically talking about trying to get this (sorry image is crappy size restrictions):

http://www.vbadvanced.com/forum/attachment.php?attachmentid=1401&stc=1

around the modules.

ConqSoft
06-04-2005, 02:59 PM
I'd suggest upgrading the CMPS 2.0 first, since it has a "wrapper" for the modules. Then you only have to edit ONE place to make all your modules have that same look/feel.

LEAD_WEIGHT
06-04-2005, 03:04 PM
I would like to have that done aswell but I know it is not a simple solution
:(

LEAD_WEIGHT
06-04-2005, 03:05 PM
I'd suggest upgrading the CMPS 2.0 first, since it has a "wrapper" for the modules. Then you only have to edit ONE place to make all your modules have that same look/feel.

Do not say that without explaining how to edit! That is just teasing ppl that need to know :rolleyes:

ConqSoft
06-04-2005, 03:29 PM
You just edit the "wrapper" template and add the same code to the top/bottom of the table there as the top/bottom of the other tables of your site.

LEAD_WEIGHT
06-04-2005, 04:23 PM
Thanks ConqSoft, I got it now. lots of work for each module but at least it going to look professional.

ConqSoft
06-04-2005, 04:32 PM
You should only have to do it once if you have it set to use the module wrapper with 2.0.

LEAD_WEIGHT
06-04-2005, 05:03 PM
You should only have to do it once if you have it set to use the module wrapper with 2.0.

Ok, I guess I am going about this the wrong way. Exactly where do I need to do this.
I hope it is not "Use Module Shell Template" cause it goofs it up.

ConqSoft
06-04-2005, 05:22 PM
Edit the "adv_portal_module_shell" template, adding any customizations needed for your particular skin/style.

Then, make sure all your modules have the option for "Use Module Shell Template" set to Yes. (You'll need to edit the templates for any custom module templates and remove the <table> </table> and the first <tr></tr> from them. Otherwise, they'll be doubled up. (You'll see them when you turn that option to Yes.)

LEAD_WEIGHT
06-04-2005, 06:48 PM
So this is the code for module I have & all I have to do is place the rest inside?


<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">

<--Place code here-->

<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>

So far I got this but it does not quite look right but it does work :)

$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>