Fork me on GitHub

Search

Donat-O-Meter

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

Learn XOOPS Core

Local Support

Advertisement

XOOPS Code hosted on SourceForge

Cumulus Tag Cloud

- 2 2.5 2.6 3.0 4 6 2013 Abuse adslight Android AntiHarvesting AntiMalUser AntiSpam API Apple Battlefield billige Bootstrap Captcha cell cent chronolabs CHUNG Clicks content CĂN demo docek download Dresses evden eve facebook Fat floor Food for free Gateway Google Guide herre Home Honeypot Human HỘ IP iPhone jQuery Language Law Legal List log Loss mobile module modules Monster new newbb news NHÀ online PARK phone PHP Prevention profile project Protector publisher RESIDENCE responsive review Rights rmcommon security Sentry site Smartphone Smoking Solution Spam Studio tag tags tdmcreate template The Theme themes web weight Wishcraft xoops Xortify

New Users

Registering user

# 137849

hometheater

Welcome to XOOPS!




Bottom   Previous Topic   Next Topic  |  Register To Post



#1 Posted on: 2008/11/9 12: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
Joined:
2006/10/19 16:01
From Cardiff - UK
Group:
Registered Users
Community Coordinator (temporary)
Posts: 2296
(Show More) (Show Less)


#2 Posted on: 2008/11/9 21: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
Joined:
2005/11/16 5:27
From Osaka
Group:
Registered Users
Posts: 1667
(Show More) (Show Less)


#3 Posted on: 2008/11/10 4: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


The art of asking questions.
ghia
Joined:
2008/7/3 14:19
From Belgium
Group:
Registered Users
Posts: 4946
(Show More) (Show Less)


#4 Posted on: 2008/11/10 4:42 Re: centre-left & centre-right blocks not taking style
You have PM

Top


John V
Cardiff - UK
JAVesey
Joined:
2006/10/19 16:01
From Cardiff - UK
Group:
Registered Users
Community Coordinator (temporary)
Posts: 2296
(Show More) (Show Less)


#5 Posted on: 2008/11/10 5: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


The art of asking questions.
ghia
Joined:
2008/7/3 14:19
From Belgium
Group:
Registered Users
Posts: 4946
(Show More) (Show Less)


#6 Posted on: 2008/11/10 6: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
Joined:
2006/10/19 16:01
From Cardiff - UK
Group:
Registered Users
Community Coordinator (temporary)
Posts: 2296
(Show More) (Show Less)


#7 Posted on: 2008/11/10 7: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


The art of asking questions.
ghia
Joined:
2008/7/3 14:19
From Belgium
Group:
Registered Users
Posts: 4946
(Show More) (Show Less)







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.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create pdf.
You cannot get print page.

[Advanced Search]