1
RicoCali
Controlling Center Block Positions with Top Page Module
  • 2003/12/7 21:32

  • RicoCali

  • Not too shy to talk

  • Posts: 120

  • Since: 2002/7/29


I have specified to use wfchannel default page to be at the TOP of my opening page and NEWBB RECENT POST block to be in the center. The problem with this is that I don't have any control to put the WFCHANNEL module to appear "first" in the center and then show NEWBB RECENT POST block. Anybody got any suggestions?

Thank you,
Rico

2
hsalazar
Re: Controlling Center Block Positions with Top Page Module
  • 2003/12/7 23:59

  • hsalazar

  • Just popping in

  • Posts: 78

  • Since: 2003/2/6 1


RicoCali:

The answer might lie in the structure of your theme.html file. The general structure of it can be

CONTENT IN TOP
1. Show the top module's content.
2. Show whatever center blocks are defined for the top page.

or

BLOCKS IN TOP
1. Show whatever center blocks are defined for the top page.
2. Show the top module's content.

All this happens within the TD called "centercolumn". For instance, the default theme is written to show blocks in top. So no matter what you do to the weight of the blocks, you'll always have the blocks on top, ordered by weight, and then the module's content, in this case WF-Channel's top page.

What to do? I'm sure for you it's obvious once this is clear: edit theme.html so that the code

<div id="content">
          <{
$xoops_contents}>
        </
div>

appears just after the line

<td id="centercolumn">

Try this, and if it works, great!

Cheers.

3
RicoCali
Re: Controlling Center Block Positions with Top Page Module
  • 2003/12/8 0:15

  • RicoCali

  • Not too shy to talk

  • Posts: 120

  • Since: 2002/7/29


I think I owe a lot of you folks a beer at a pub. Thank you for your help Horacio...very much appreciated.

4
bassyard
Re: Controlling Center Block Positions with Top Page Module
  • 2003/12/8 0:51

  • bassyard

  • Not too shy to talk

  • Posts: 157

  • Since: 2003/10/5


This is very helpfull, I was looking for this. Nice one!

Does anybody know if you can change this:

On my top page I've got 3 centered blocks, 1 blocks on the left and 1 on the right... I would like to have 1 centered block first on the first row, on the second 1 left and one right block next to each other, and on the 3rd and 4th row a centered block.
But it displays the centered blocks first and then on the bottom (4th row) it displays the right and left block next to each other... (and yes I use the correct weights )

Login

Who's Online

216 user(s) are online (130 user(s) are browsing Support Forums)


Members: 0


Guests: 216


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits