1
ashit
Can you have more than two center blocks?
  • 2005/3/24 9:25

  • ashit

  • Just popping in

  • Posts: 10

  • Since: 2004/12/15


Normally the center blocks have two blocks only. The centerLblock and centerRblock.

Is there a way I can have more of these blocks in the same row? Such as 3 or 4 blocks in a single row.

2
Herko
Re: Can you have more than two center blocks?
  • 2005/3/24 10:27

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


sure you can, by making sure that the blocks loop in the row, and not the column.

Let me explain this a bit more. By default, blocks (for instance, the center left blocks) loop in this way:
table
loop this:
tr
td
block
/td
/tr
end loop
/table

This way, each block will get it's own table row, and be put below the previous one.

If you change the loop to this:
table
tr
loop this:
td
block
/td
end loop
/tr
/table

Each block gets it's own table cell, thus placing it next to the previous block of the same type.

Hope this helps

Herko

3
ashit
Re: Can you have more than two center blocks?
  • 2005/3/24 13:52

  • ashit

  • Just popping in

  • Posts: 10

  • Since: 2004/12/15


Thanks Herko,

I presume that with this If i want to have two centerLeftblocks and two centerRightblocks, the in the blocks manager I'll select 2 blocks that I'd like to place in the two left blocks with the same weight and two blocks for the centerRight and follow the same procedure as for the two left blocks.

I'll try this and let you know.

Thanks

Login

Who's Online

305 user(s) are online (93 user(s) are browsing Support Forums)


Members: 0


Guests: 305


more...

Donat-O-Meter

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

Latest GitHub Commits