Log in

View Full Version : Different number of columns on one page


miafodder
08-05-2008, 09:04 AM
Hi all I have been searching for ages but can't find what I'm after

I want to be able to show a different number of columns on my front page

for example under the nav bar I would like 2 columns taking up 50% of the page each
below that I would like 4 columns taking up 35%, 35% 15% 15%
then three columns taking up 50% 25% 25%

[/////////] [/////////] < Row 1
[////] [////] [//] [//] < Row 2
[/////////] [///] [///] < Row 3
[/////////] [///] [///]
[/////////] [///] [///]

Hope that makes sense

Sycoloco1212
08-05-2008, 10:04 AM
i would like this aswell =)

miafodder
08-09-2008, 03:06 PM
found out how to do it

you need to add to adv_portal

but first
vba cmps ---->settings----->Main Options

Add to list locations example

topleft
topcenter
topright

I then added a table above the main table (below $navbar)

<table cellspacing="0" cellpadding="0" width="100%">
<tr>
<if condition="$show['topleft_column']">
<td> $home[topleftblocks]</td>
</if>

<if condition="$show['topcenter_column']">
<td>$home[topcenterblocks]</td>
</if>

<if condition="$show['topright_column']">
<td>$home[toprightblocks]</td>
</if>

</tr>
</table>

This added 3 columns completely seperate to the others see my site
http://miaclan.co.uk