PDA

View Full Version : Main page table width problem.


Turboface
11-27-2004, 05:59 PM
Hi guys.

I recently installed CMPS and I can't wait until I have my new site all up and running with everything set up. CMPS looks awesome.

After I installed CMPS my main page looked a little funny. It looked like the main table's width wasn't set at 100%, like how I have my board set up. You can see what I mean here:

http://www.spywar.org/screenshots/themainpage.jpg

http://www.spywar.org/screenshots/theboard.jpg

I've searched thru the board here and checked the settings in my admin, but I just can't figure this out. Also, I noticed that my calander is not showing up there on the right and I don't have a main menu on the left.

Any help would be appreciated.

:D

Morwyn
11-27-2004, 06:07 PM
Hello :),

I had same troubles. For the bad display on the main page/portal, you just need to set-up width between blocks. Also, when you'll have something in the centre it will display nicely u'll see.

You can create a dummy centre block by using the code provided by Brian in his user's manual:

Generic Custom Module Template Shell
When creating your new module, in most cases you will want the 'block' around the module to look exactly like your other modules. Here is a generic template for you to use:


<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr>
<td class="tcat"><span class="smallfont"><strong>$vba_options[portal_blockbullet] <!-- Module Title Here --></strong></span></td>
</tr>
<tr>
<td class="$getbgrow" width="100%">

<!-- Content for your module goes here -->

</td>
</tr>
</table>
<br />


So you have to create a "new template" with the code above, go into ur CMPS admin part, and then create a new page (custom) using this template.

Our Sponsors
 

Artayick
11-27-2004, 06:36 PM
your center block is missing.. in your cmps part in the admin cp you need to define your forum id for your news. That should fix things up for you

Turboface
11-27-2004, 07:31 PM
Thanks so much guys. My page (http://www.spywar.org) is starting to take shape.

:D

Our Sponsors
 

Morwyn
11-27-2004, 07:42 PM
Yep, nice domain name by the way.

Turboface
11-27-2004, 07:46 PM
Yep, nice domain name by the way.

Thanks, hopefully the SEs will like it too.

:D