1
javelin
Block Position front page
  • 2006/7/20 22:11

  • javelin

  • Not too shy to talk

  • Posts: 160

  • Since: 2004/3/11


I'm running 4.0.14

Using the default theme in the non module front page how do I get the center right and center left blocks to appear above the center block.

What I'm after is,

center left, center right
Center top
Center bottom
Bottom left, bottom right
I might not be very clever but I can lift heavy weights!

2
msdana
Re: Block Position front page
  • 2006/7/20 22:42

  • msdana

  • Just can't stay away

  • Posts: 817

  • Since: 2005/12/11


Replace your center column with this:

Quote:

<td id="centercolumn">
<!-- Display center blocks if any -->
<{if $xoops_showcblock == 1}>
<table cellspacing="0">
<tr>
<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>
</tr>
<tr>
<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>
</tr><{/if}>
</table>
<!-- End display center blocks -->
<div id="content"><{$xoops_contents}></div>

<{if $xoBlocks.page_bottomleft or $xoBlocks.page_bottomright or $xoBlocks.page_bottomcenter}>
<table cellspacing="0">
<{if $xoBlocks.page_bottomcenter}>
<tr>
<td id="centerCcolumn" colspan="2">
<{foreach from=$xoBlocks.page_bottomcenter item=block}><{include file="default/theme_blockcenter_c.html"}><{/foreach}>
</td>
</tr>
<{/if}>
<{if $xoBlocks.page_bottomleft or $xoBlocks.page_bottomright}>
<tr>

<td id="centerLcolumn">
<{foreach from=$xoBlocks.page_bottomleft item=block}><{include file="default/theme_blockcenter_l.html"}><{/foreach}>
</td>

<td id="centerRcolumn">
<{foreach from=$xoBlocks.page_bottomright item=block}><{include file="default/theme_blockcenter_r.html"}><{/foreach}>
</td>
</tr>
<{/if}>
</table>
<{/if}>
</td>


That should do it. Good luck!
[size=x-small]If God is watching us, the least we can do is be entertaining.[/size]
Graphic Worx : Xoops Themes

3
javelin
Re: Block Position front page
  • 2006/7/20 22:46

  • javelin

  • Not too shy to talk

  • Posts: 160

  • Since: 2004/3/11


Many thanks,

Was worried I'd missed something really simple,
Somewhat relieved
I might not be very clever but I can lift heavy weights!

4
msdana
Re: Block Position front page
  • 2006/7/20 22:48

  • msdana

  • Just can't stay away

  • Posts: 817

  • Since: 2005/12/11


Your welcome!

I probably could have just given you the actual part that was moved, but figured it would be better to give you the entire center column
[size=x-small]If God is watching us, the least we can do is be entertaining.[/size]
Graphic Worx : Xoops Themes

5
javelin
Re: Block Position front page
  • 2006/7/20 22:56

  • javelin

  • Not too shy to talk

  • Posts: 160

  • Since: 2004/3/11


Funny enough I was just browsing your great site and having a nose about.

I noticed you rss feeds and wondered what version XOOPS yopu were running as I've not got a rss module to work properly with 2.0.14 yet
I might not be very clever but I can lift heavy weights!

6
msdana
Re: Block Position front page
  • 2006/7/20 22:58

  • msdana

  • Just can't stay away

  • Posts: 817

  • Since: 2005/12/11


I am PROUDLY using 2.2.4
[size=x-small]If God is watching us, the least we can do is be entertaining.[/size]
Graphic Worx : Xoops Themes

7
javelin
Re: Block Position front page
  • 2006/7/20 23:06

  • javelin

  • Not too shy to talk

  • Posts: 160

  • Since: 2004/3/11


Ah, will that rss module work with 2.0.14 or should I wait for the new release you announced

I might not be very clever but I can lift heavy weights!

8
msdana
Re: Block Position front page
  • 2006/7/20 23:09

  • msdana

  • Just can't stay away

  • Posts: 817

  • Since: 2005/12/11


That module is RSSFit for 2.2.3. You'll need to wait for the new one for 2.0.14. Brandycoke is pretty good about getting modules out in a timely fashion. Shouldn't be too long.
[size=x-small]If God is watching us, the least we can do is be entertaining.[/size]
Graphic Worx : Xoops Themes

9
javelin
Re: Block Position front page
  • 2006/7/20 23:22

  • javelin

  • Not too shy to talk

  • Posts: 160

  • Since: 2004/3/11


I might not be very clever but I can lift heavy weights!

10
tingtong
Re: Block Position front page
  • 2006/7/29 16:58

  • tingtong

  • Just popping in

  • Posts: 21

  • Since: 2006/1/31


hi i am facing a similar problem positioning center block top and bottom. I am using 7dana-clean theme. I tried the code you provided but it didn't work for me. I need help really bad.

thanks.

Login

Who's Online

160 user(s) are online (105 user(s) are browsing Support Forums)


Members: 0


Guests: 160


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