Get XOOPS XOOPS FAQ Forums News Themes Modules
New Posts New Topics All Forums Index General Modules Themes Development International XOOPS.org

XOOPS vs. Herko Coomans

Make a donation

Please select an amount to donate


Do you want your username revealed with your donation?
Yes - List me as a Generous Donor
No - List my donation as from an Anonymous Donor


Search

Local Support Sites

Cumulus Tag Cloud

admin Arabic banner block Christmas comments cumulus DayDawn dhsoft e-Commerce E-Learning Google GUI hacks instant-zero jQuery module news Nordic Olédrion oxygen PageRank security SEO simple-XOOPS sport tag Theme wiki xoops

New Users

Registering user

# 96568

dvsshoescom

Welcome to XOOPS!
XOOPS Code hosted on SourceForge


 Bottom   Previous Topic   Next Topic

#1 Posted on: 2008/11/9 13:16 centre-left & centre-right blocks not taking style
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.

Top


John V
Cardiff - UK
JAVesey
Moderator
Joined:
2006/10/19 17:01
From Cardiff - UK
Posts: 2258
(Show More) (Show Less)
#2 Posted on: 2008/11/9 22:00 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.

Top


Never let a man who does not believe something can be done, talk to a man that is doing it.
sailjapan
Moderator
Joined:
2005/11/16 6:27
From Osaka
Posts: 1536
(Show More) (Show Less)
#3 Posted on: 2008/11/10 5:03 Re: centre-left & centre-right blocks not taking style
Quote:
Asny ideas as to what code or class definition(s) are missing?
Can it be seen live somewhere?

Top

ghia
Community Support Member
Joined:
2008/7/3 15:19
From Belgium
Posts: 3665
(Show More) (Show Less)
#4 Posted on: 2008/11/10 5:42 Re: centre-left & centre-right blocks not taking style
You have PM

Top


John V
Cardiff - UK
JAVesey
Moderator
Joined:
2006/10/19 17:01
From Cardiff - UK
Posts: 2258
(Show More) (Show Less)
#5 Posted on: 2008/11/10 6:48 Re: centre-left & centre-right blocks not taking style
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?

Top

ghia
Community Support Member
Joined:
2008/7/3 15:19
From Belgium
Posts: 3665
(Show More) (Show Less)
#6 Posted on: 2008/11/10 7:16 Re: centre-left & centre-right blocks not taking style
top centre right, below the "recently updated information" block.

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

Top


John V
Cardiff - UK
JAVesey
Moderator
Joined:
2006/10/19 17:01
From Cardiff - UK
Posts: 2258
(Show More) (Show Less)
#7 Posted on: 2008/11/10 8:04 Re: centre-left & centre-right blocks not taking style
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.

Top

ghia
Community Support Member
Joined:
2008/7/3 15:19
From Belgium
Posts: 3665
(Show More) (Show Less)

 Top   Previous Topic   Next Topic


You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You can vote in polls.
You cannot attach files to posts.
You cannot post without approval.

[Advanced Search]