![]() |
|
#1
|
|||
|
|||
|
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): around the modules. |
|
#2
|
||||
|
||||
|
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.
__________________
My Blog GPS Discussion Forum *** Please do not contact me privately for help. Thanks. *** |
|
#3
|
||||
|
||||
|
I would like to have that done aswell but I know it is not a simple solution
|
|
#4
|
||||
|
||||
|
Quote:
|
|
#5
|
||||
|
||||
|
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.
__________________
My Blog GPS Discussion Forum *** Please do not contact me privately for help. Thanks. *** |
|
#6
|
||||
|
||||
|
Thanks ConqSoft, I got it now. lots of work for each module but at least it going to look professional.
|
|
#7
|
||||
|
||||
|
You should only have to do it once if you have it set to use the module wrapper with 2.0.
__________________
My Blog GPS Discussion Forum *** Please do not contact me privately for help. Thanks. *** |
|
#8
|
||||
|
||||
|
Quote:
I hope it is not "Use Module Shell Template" cause it goofs it up. Last edited by LEAD_WEIGHT; 06-04-2005 at 04:18 PM. |
|
#9
|
||||
|
||||
|
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.)
__________________
My Blog GPS Discussion Forum *** Please do not contact me privately for help. Thanks. *** Last edited by ConqSoft; 06-04-2005 at 04:24 PM. |
|
#10
|
||||
|
||||
|
So this is the code for module I have & all I have to do is place the rest inside?
Code:
<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> 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>
Last edited by LEAD_WEIGHT; 06-04-2005 at 06:19 PM. |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How do I make CMPS public but forum private? | spaghie | Troubleshooting / "How do I..." Questions | 6 | 04-12-2005 02:48 AM |
| want to make a new module based on a forum | Xil Ze | Troubleshooting / "How do I..." Questions | 1 | 03-21-2005 04:42 PM |
| Make browser title show message / forum name | mvulcan | Troubleshooting / "How do I..." Questions | 4 | 02-26-2005 11:15 AM |
| Make Forum into a Module | yinyang | Troubleshooting / "How do I..." Questions | 1 | 06-02-2004 07:50 PM |