1
beerMe
Make centerLcolumn and centerRcolumn come before centerCcolumn?
  • 2004/11/29 22:04

  • beerMe

  • Not too shy to talk

  • Posts: 133

  • Since: 2004/9/13


Hi gang, I am having trouble getting a center-left block and center-right block to come before the center-center blocks on my home page. I have given the center-center blocks a higher weight (weights 3 and 4) than the center-left and center-right blocks (weight 2) but it doesn't seem to help. Any advice?

Thanks!

2
Mithrandir
Re: Make centerLcolumn and centerRcolumn come before centerCcolumn?

The weights are only considered within a block positioning group.

How these groups are positioned on the page relative to each other and relative to the page content is determined in the theme.

3
brash
Re: Make centerLcolumn and centerRcolumn come before centerCcolumn?
  • 2004/11/29 22:12

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


Yep, you are going to have to do a little theme editing to do what you are wanting beerMe.

4
beerMe
Re: Make centerLcolumn and centerRcolumn come before centerCcolumn?
  • 2004/11/29 22:13

  • beerMe

  • Not too shy to talk

  • Posts: 133

  • Since: 2004/9/13


Excellent! Thanks again, Mith.

5
upsadaz
Re: Make centerLcolumn and centerRcolumn come before centerCcolumn?
  • 2005/6/16 17:25

  • upsadaz

  • Friend of XOOPS

  • Posts: 174

  • Since: 2004/2/26


If it isn't too much trouble, could someone specify how to edit the theme? Like beerMe, I want the home page so that the CL and CR blocks show above the CC blocks. I'm afraid to do this on my own.

Any guidance would be appreciated.
Edit: I was brave and tried it on my own. After a few mishaps I got it right! NO NEED TO ANSWER THIS POST NOW> Thanks everyone!

6
bluenova
Re: Make centerLcolumn and centerRcolumn come before centerCcolumn?

You just need to open up theme.html and in there you will see somthing like:
<td id="centerCcolumn" colspan="2">

            <!-- 
Start center-center blocks loop -->
            <{foreach 
item=block from=$xoops_ccblocks}>
              <{include 
file="default/theme_blockcenter_c.html"}>
            <{/foreach}>
            <!-- 
End center-center blocks loop -->

            </
td>


And a bit further down this:
<td id="centerLcolumn">

            <!-- 
Start center-left blocks loop -->
              <{foreach 
item=block from=$xoops_clblocks}>
                <{include 
file="default/theme_blockcenter_l.html"}>
              <{/foreach}>
            <!-- 
End center-left blocks loop -->

            </
td><td id="centerRcolumn">

            <!-- 
Start center-right blocks loop -->
              <{foreach 
item=block from=$xoops_crblocks}>
                <{include 
file="default/theme_blockcenter_r.html"}>
              <{/foreach}>
            <!-- 
End center-right blocks loop -->

            </
td>


Just swap 'em round

Login

Who's Online

144 user(s) are online (84 user(s) are browsing Support Forums)


Members: 0


Guests: 144


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