1
Anonymous
centre-left & centre-right blocks not taking style
  • 2008/11/9 18:16

  • Anonymous

  • Posts: 0

  • Since:


Hi,

I've come across a few themes in the last week or so where blocks placed in the centre-left or centre-right positions don't take the theme's style.

For example, I have two blocks placed in the centre-right position, one below the other. The uppermost block takes the theme's style correctly whereas the one below it doesn't take any style at all. See my comment/screenshot for the "psair" theme as an example. Let me stress, this theme isn't the only one and themes for other designers do the same thing.

They seems to be the more "complicated" themes using "xo-cancas" type code rather than an old-fashioned theme.html file.

Asny ideas as to what code or class definition(s) are missing?

Thanks everyone.

2
sailjapan
Re: centre-left & centre-right blocks not taking style

I've had this happen in some themes too. Interested to see what fixes come up here.
Never let a man who does not believe something can be done, talk to a man that is doing it.

3
ghia
Re: centre-left & centre-right blocks not taking style
  • 2008/11/10 10:03

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Quote:
Asny ideas as to what code or class definition(s) are missing?
Can it be seen live somewhere?

4
Anonymous
Re: centre-left & centre-right blocks not taking style
  • 2008/11/10 10:42

  • Anonymous

  • Posts: 0

  • Since:


You have PM

5
ghia
Re: centre-left & centre-right blocks not taking style
  • 2008/11/10 11:48

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


This shows the nesting of the blocks in their different page sections (eg top center left, top center right, ..)
<td id="xo-page">
 <
div id="xo-page-topblocks" class="xo-blockszone-xo-clrpageblocks">
  <
div id="xo-page-topcenterblocks" class="xo-blockszone">
   
// HELPFUL NOTICE!!
   // Welcome
  
</div>
  <
div id="xo-page-topleftblocks" class="xo-blockszone">
   
// Latest News
  
</div>
  <
div id="xo-page-toprightblocks" class="xo-blockszone">
   
// Recently Updated Information block
  
</div>
  <
div class="xo-block smartsection">
   <
div class="xo-blocktitle">Most Viewed Information (Hits)
   </
div>
   <
div class="xo-blockcontent">
   </
div>
  </
div>
 </
div>
 <
div id="xo-page-bottomblocks" class="xo-blockszone-xo-clrpageblocks">
  <
div id="xo-page-bottomcenterblocks" class="xo-blockszone">
   <
div class="xo-block xcgal">
   </
div>
   <
div class="xo-block wiwimod">
   </
div>
   <
div class="xo-block newbb">
   </
div>
   <
div class="xo-block system">
   </
div>
  </
div>
 </
div>
</
td>
Apparently the 'Most Viewed Information (Hits)' does not belong to any of them, which could indicate a problem in the loop of summing up the blocks in their sections. It is a 'top block', but not belonging to 'top center center' or 'top left center' or 'top right center'.
Which section was it configured to?

6
Anonymous
Re: centre-left & centre-right blocks not taking style
  • 2008/11/10 12:16

  • Anonymous

  • Posts: 0

  • Since:


top centre right, below the "recently updated information" block.

Not a xoops/core problem as it's fine on my "live" site (see sig).

7
ghia
Re: centre-left & centre-right blocks not taking style
  • 2008/11/10 13:04

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


No, it is somewhere in theme.html and the used smarty scripts and/or included blocks. Is the theme maybe imposing, that there can be only 1 top-left or top-right block?

One workaround could be to assign the same css rules from xo-page-topcenterblocks to xo-page-topblocks.

Login

Who's Online

167 user(s) are online (110 user(s) are browsing Support Forums)


Members: 0


Guests: 167


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