1
Jason0071
Left, Right, Left, Right, Left....
  • 2005/2/10 20:39

  • Jason0071

  • Just popping in

  • Posts: 6

  • Since: 2005/1/19


OK, how do you get Left and Right Center blocks to display below Center Blocks. It seems that all Left and Right Center blocks display above the Center Blocks. Can this be changed???

Jason

2
Draven
Re: Left, Right, Left, Right, Left....
  • 2005/2/10 20:56

  • Draven

  • Module Developer

  • Posts: 337

  • Since: 2003/5/28


Yes, you can. Open your theme.html file (located in /themes/default/ if you are using the default theme) and look for this chunk of code (highlighted red):

<table cellspacing="0">
           <
tr>
            <
td id="centerCcolumn" colspan="2">
[
color=FF0000]
            
            <{foreach 
item=block from=$xoops_ccblocks}>
              <{include 
file="default/theme_blockcenter_c.html"}>
            <{/foreach}>
            
[/
color]
          
            td>
          tr> <tr>
            <
td id="centerLcolumn">

            
              <{foreach 
item=block from=$xoops_clblocks}>
                <{include 
file="default/theme_blockcenter_l.html"}>
              <{/foreach}>
            

            td><td id="centerRcolumn">

            
              <{foreach 
item=block from=$xoops_crblocks}>
                <{include 
file="default/theme_blockcenter_r.html"}>
              <{/foreach}>
            

            td>
          tr>
        table>


Now since the default theme already shows the center columns above the center left and right columns, I assume you are using a different theme that has changed this part. Examine your theme.html file and move that chunk of code (or it's equivalent) to where you want it.

3
Jason0071
Re: Left, Right, Left, Right, Left....
  • 2005/2/10 21:13

  • Jason0071

  • Just popping in

  • Posts: 6

  • Since: 2005/1/19


This I have figured out, I was wondering if you can do it without having all left center and right center blocks below center-center blocks...hmmmm.

You know change the order in which blocks are displayed instead of loop all center-center blocks on top..

Jason

Login

Who's Online

429 user(s) are online (73 user(s) are browsing Support Forums)


Members: 0


Guests: 429


more...

Donat-O-Meter

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

Latest GitHub Commits