1
OTTAGON
How can I add a column to theme?
  • 2009/1/14 16:14

  • OTTAGON

  • Just popping in

  • Posts: 42

  • Since: 2005/7/3 1


Hi to all...
First time, scuse me for my english...

I have this problem.
Actually I have installed to my site the ASTRO2 theme.
This theme is great but for my use I need three column but this theme have only 2 columns.

My question is this?

Can I add a column to the theme? I need to add the right column that now don't be inserted.

It's possibile this? How can I made this?

Thank for your help, I need very urgently this info and all your help is very very very appreciated.

Bye and thank you

2
webmystar
Re: How can I add a column to theme?
  • 2009/1/14 18:40

  • webmystar

  • Friend of XOOPS

  • Posts: 415

  • Since: 2008/6/23


look in the default XOOPS theme ...

/themes/default/theme.html

<{if $xoops_showrblock}>         
<
td id="rightcolumn">         
         
<{foreach 
item=block from=$xoBlocks.canvas_right}>             
<{
includeq file="$theme_name/theme_blockright.html"}>         <{/foreach}>         
         
td>     
{/if}>

3
ghia
Re: How can I add a column to theme?
  • 2009/1/14 19:21

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


I am affraid it will not be so simple as that.
The Astro2 theme is a tableless theme with a fixed width. The designer has found an equilibrium in the division of spaces. Adding a third column will need a lot of tweaking to find a new balance between the various dimensions. Also the used background images may get impaired.

If you want to change it anyway, these are the tasks ahead:
You have to edit theme.html in which the right blocks (xoops_lblocks loop) are now added at the end of all left blocks (xoops_lblocks loop) in the side column (side_area). To start you have to duplicate this div and rename all id's in it to rside_xxx. Then delete the one of the loops in either div.
In the CSS file copy all side_xxx selectors to rside_xxx and adapt all positioning and measurements.

Login

Who's Online

189 user(s) are online (121 user(s) are browsing Support Forums)


Members: 0


Guests: 189


more...

Donat-O-Meter

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

Latest GitHub Commits