Re: HOWTO create a 2 column center block?

[email protected] (mikespub) Sat, 18 Oct 2003 14:40:06 GMT
Newsgroups gmane.comp.cms.xaraya.knowledge-base
Organization not much
Message-ID <[email protected]>
In article <bmreuo$hhq$1-111RdWWlOxkOkXtL6OYfHgC/[email protected]>, [email protected] (Banzai) wrote:
>Hi,
>I would like to place a featured article block in a 2 column center block.
>How do I create a center block with 2 column? 
>
>Banzai

What do you mean by that exactly ? Do you want to have :

|----------------------|----------------------|
|       featured       |   something else     |
|----------------------|----------------------|

or :

|----------------------|----------------------|
|     featured 1       |     featured 2       |
|----------------------|----------------------|

or :

???

In the first case, you could adapt the blockgroup template
themes/<...>/blocks/center.xt so that it creates the individual
table cells <td> ... </td>, and the page template so that
it puts those cells in a table :
<table><tr><xar:blockgroup ... /></tr></table> (or the equivalent
with div's or whatever)

In the second case, you'd have to look at the template
for the featureditems block itself and adapt that to
get your 2 columns, unless you want to use 2 blocks.

Or a third approach would be to forget about blockgroups
and to place individual blocks directly in your page
template...

HTH,

Mike.