1
Poslanik
Block order.
  • 2005/11/26 18:16

  • Poslanik

  • Just popping in

  • Posts: 95

  • Since: 2005/2/11


Hi,

Can anyone explain how does the block order work with xoops? I made an AMS spotlight block as my centre block centre. Then I made 2 more blocks as Centre left and Centre right. And they appeared below the AMS spotlight. But then I created last replied posts block as Centre block centre and it appeared above the last two (centre left and centre right) and below the spotlight.

And what's weight in blocks admin? Could that be the order? If so, it's not working.

2
m0nty
Re: Block order.
  • 2005/11/26 18:19

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


weight is the block order..

0 being top most and 1 being below etc, 2 being next, 3 below that and so on.

3
Peekay
Re: Block order.
  • 2005/11/26 18:24

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


Ah yes... it's a bummer. Weight is the block order, but the value is for blocks of that particular type. Unless I misunderstood, I tried exactly what you have done and it won't work, so:

Centre - 0
Centre-Left - 1
Centre-Right - 2
Centre - 3

puts Centre - 3 directly under Centre - 0, rather than under the paired left/right blocks.

I would be interested in a workaround for this myself.
A thread is for life. Not just for Christmas.

4
m0nty
Re: Block order.
  • 2005/11/26 18:29

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


there's a section in the FAQ regarding that.. under the themes section..

you have to edit the theme.html and change the code for the blocks round..

5
Peekay
Re: Block order.
  • 2005/11/26 18:42

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


Thx m0nty. I found a post by user jamboree in this FAQ asking exactly the same question as Poslanik, but I can't see a reply to that issue?. I'm gonna take a look at my theme.html.
A thread is for life. Not just for Christmas.

6
Poslanik
Re: Block order.
  • 2005/11/26 19:12

  • Poslanik

  • Just popping in

  • Posts: 95

  • Since: 2005/2/11


That FAQ doesn't have to do much with my problem. And yes, that jamboree asked the same thing as I did. But no answer.

EDIT: I tried doing what the FAQ says but with no success.

ANOTHER EDIT: My theme has 3 centre loops (centre, left and right) as all do I believe. I tried pasting
<{$xoops_contents}>
before each but nothing happens.

FINAL EDIT: Seeing the code I believe there is no solution to this problem except hardcoding. It's needed to intertwine loops of blocks or something like that.

Login

Who's Online

736 user(s) are online (183 user(s) are browsing Support Forums)


Members: 0


Guests: 736


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