1
atreide
more than 5 columns ?
  • 2005/5/24 20:41

  • atreide

  • Just popping in

  • Posts: 2

  • Since: 2005/4/6 2


Hello, how can I give blocks another position than the 5 columns "sides" ?
The admin panel only provide left, center-left... right.
I would like to keep them and add another (or more) section that I would place horizontally in the top of the page.
After all that's only a digit in the xoops_newblocks table.

I'd like to do something like this in my template file :


<{foreach 
item=block from=$xoops_MYTOPblocks}>
<{if 
$block.title eq "Message du jour"}>
<{
$block.content}>&nbsp;&nbsp;
<{/if}>
<{/foreach}>


The only way right now would be to use a column and then to select the block from its title in one place and to remove it further in the template. Not very beautifull ;)


<{foreach 
item=block from=$xoops_ccblocks}>
<{if 
$block.title eq "Message du jour"}>
<{
$block.content}>&nbsp;&nbsp;
<{/if}>
<{/foreach}>

...


<{foreach 
item=block from=$xoops_ccblocks}>
<{if 
$block.title neq "Message du jour"}>
<
table cellspacing="0" cellpadding="2">
<
tr>
<
td class="blockContent"><{$block.content}>td>
tr>table>
<{/if}>
<{/foreach}>

2
davidl2
Re: more than 5 columns ?
  • 2005/5/24 21:51

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


I have seen a hack that allows horizontal placement of certainl center blocks... perhaps this could be used to allow some blocks to appear above the mail colums?

3
LazyBadger
Re: more than 5 columns ?

Search Forum for "Happy Linux" words, download heder-hack and study it

Login

Who's Online

319 user(s) are online (220 user(s) are browsing Support Forums)


Members: 0


Guests: 319


more...

Donat-O-Meter

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

Latest GitHub Commits