1
Xtracted
Block loading order
  • 2006/9/8 6:51

  • Xtracted

  • Not too shy to talk

  • Posts: 138

  • Since: 2004/1/7 2


Is there a way to change in what order blocks and other page content loads? I have a block that I want loaded after all other content has been loaded on the page.

There are database queries that change values in the database that the block displays. Now the block displays the values from before the queries have been executed since the block loads before the other content..

2
McNaz
Re: Block loading order
  • 2006/9/8 7:56

  • McNaz

  • Just can't stay away

  • Posts: 574

  • Since: 2003/4/21


Hi there.

Genereally block order is dependant on each block's weight. If you wish to control the order of blocks and pages (ie do blocks come before or after content) then you have to edit the theme.

This shouldn't matter since XOOPS 2.0.14 as you can have blocks above and/or below your content now (providing the theme you are using supports this).


HTH.

3
Xtracted
Re: Block loading order
  • 2006/9/8 8:35

  • Xtracted

  • Not too shy to talk

  • Posts: 138

  • Since: 2004/1/7 2


Yes, but I want the database queries executed in the block to be executed after the content in the rest of the page.. Setting that blocks weight to a higher number doesnt make a change in that.. And the right column in wich I have the block in question comes after the center column in the theme..

4
Xtracted
Re: Block loading order
  • 2006/9/11 12:32

  • Xtracted

  • Not too shy to talk

  • Posts: 138

  • Since: 2004/1/7 2


No bidders? Still no solution...

Login

Who's Online

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


Members: 0


Guests: 192


more...

Donat-O-Meter

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

Latest GitHub Commits